home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / MAWK113.ZIP / mawk113 / config / generic.h < prev    next >
C/C++ Source or Header  |  1992-11-22  |  2KB  |  84 lines

  1.  
  2. /********************************************
  3. generic.h
  4. copyright 1991, 1992.  Michael D. Brennan
  5.  
  6. This is a source file for mawk, an implementation of
  7. the AWK programming language.
  8.  
  9. Mawk is distributed without warranty under the terms of
  10. the GNU General Public License, version 2, 1991.
  11. ********************************************/
  12.  
  13.  
  14. /* $Log: generic.h,v $
  15.  * Revision 4.5  1992/11/22  18:30:29  mike
  16.  * strerror()
  17.  *
  18.  * Revision 4.4  1992/03/03  16:40:54  brennan
  19.  * remove HAVE_PRINTF_HD
  20.  *
  21.  * Revision 4.3  91/10/29  10:48:26  brennan
  22.  * version 1.09
  23.  * 
  24.  * Revision 4.2  91/10/14  09:52:34  brennan
  25.  * added HAVE_PRINTF_HD
  26.  * 
  27.  * Revision 4.1  91/09/25  11:41:23  brennan
  28.  * VERSION 1.0
  29.  * 
  30.  * Revision 3.2  91/08/13  09:04:11  brennan
  31.  * VERSION .9994
  32.  * 
  33.  * Revision 3.1  91/06/07  10:38:48  brennan
  34.  * VERSION 0.995
  35.  * 
  36. */
  37.  
  38. /* This is the most common and easiest case ,
  39.    
  40.    if you satisfy the
  41.    following generic conditions 
  42.    or your compiler pre defines __STDC__ != 0
  43.    
  44.    link or copy this file to
  45.    ../config.h and make
  46.  
  47. generic conditions:
  48.    compiler does not have prototypes
  49.    compiler has void *
  50.  
  51.    have <string.h>
  52.    do not have  <stdlib.h>
  53.    use <varargs.h> instead of <stdarg.h>
  54.    have <fcntl.h>
  55.  
  56.    have matherr()
  57.    have strtod()
  58.    have fmod()
  59.    do not have strerror()
  60.  
  61.  
  62.    divison by zero, overflow and library domain errors do not
  63.    cause exceptions and this is default behavior.
  64.    For example this is true if you have IEEE754 floating point
  65.    and the traps are off by default as the standard says.
  66.    (The ANSI C committee forgot to read IEEE754 )
  67.  
  68.    You don't have to be frugal with memory, i.e. you are not
  69.    restricted to 64K of data or something similar
  70.    
  71.    largest integer is 2^31-1 = 0x7fffffff
  72.  
  73.    Your OS is some flavor of Unix
  74. /*
  75.  
  76.  
  77. #ifndef  CONFIG_H
  78. #define  CONFIG_H    1
  79.  
  80.  
  81. #include "config/Idefault.h"
  82.  
  83. #endif
  84.