home *** CD-ROM | disk | FTP | other *** search
- /* WIDE AREA INFORMATION SERVER SOFTWARE:
- No guarentees or restrictions. See the readme file for the full standard
- disclaimer.
-
- 5.29.90 Harry Morris, morris@think.com
- */
-
- /* there are three kinds of C that we have encountered so far:
-
- 1. ANSI_LIKE - full prototypes and stdargs and ansi includes
- 2. PROTO_ANSI - full prototypes, varargs and misc includes
- 3. K_AND_R - k&r prototypes, varargs and misc includes
-
- This file is a mess because some compilers do not handle elif. sorry.
-
- defined symbols for other machines:
- hp: hpux
- Next: NeXT
- */
-
- #ifndef C_DIALECT
- #define C_DIALECT
-
- #include <string.h>
- #include <stdio.h>
- #include <alloc.h>
- #include <malloc.h>
- #include <ctype.h>
- #include <mem.h>
- #include <math.h>
- #include <stdlib.h>
-
- #define K_AND_R /* default to the stone age */
-
- #ifdef PROTO_ANSI
- #define _AP(args) args
- #endif /* def PROTO_ANSI */
-
- #ifdef K_AND_R
- #define _AP(args) ()
- #endif /* def K_AND_R */
-
-
- /* Comment this back in to figure out what the compiler thinks we are */
- /*
- #ifdef ANSI_LIKE
- WeareAnsiLike
- #endif
- #ifdef PROTO_ANSI
- WeareProtoAnsi
- #endif
- #ifdef K_AND_R
- WeareKandR
- #endif
- Crash-and-Burn
- */
- /* End of chunk to comment back in */
-
- #endif /* ndef C_DIALECT */
-