Annotation of researchv10no/cmd/lcc/ph/compil.h, revision 1.1.1.1

1.1       root        1: /* As per your license agreement, your distribution is not to be moved or copied outside the Designated Site
                      2:  * without specific permission from Plum Hall Inc.
                      3:  */
                      4: 
                      5: /* CONFIGURATION -- ADAPT THE FOLLOWING PAGE OF DEFINITIONS TO LOCAL VALUES APPROPRIATE TO COMPILER  */
                      6: 
                      7: #ifndef COMPILER_H
                      8: #define COMPILER_H
                      9: #define ANSI 1 /* conforms to ANSI/IOS C standard */
                     10: #define V7      0      
                     11: /* The following named-constants can be configured independently */
                     12: #define UNIQ_MEMB_NAMES        1       /* Does each struct-or-union have unique member name table */
                     13: #define VOID_OK                        1       /* Does compiler recognize "void" */
                     14: #define LONG_IDENTIFIERS       1       /* Is name significance at least 31 */
                     15: #define STRUCT_COND_OK                 1       /* Can conditional (?:) operator take struct-or-union operands */
                     16: #define TAG_AND_MEMB_SPACES 1  /* Are name spaces of tags and members separate */
                     17: #define ALL_STRING_FNS                 1       /* Are all string fns (see d11.c pg 1) provided */
                     18: #define ALL_CTYPE_FNS          1       /* Are all ctype fns (esp. isgraph, tolower, toupper) provided */
                     19: #define HAS_PROTOTYPES         1       /* Does compiler support "prototype" declarations -- int f(int); */
                     20: #define NEW_STYLE_FN_DEF       1       /* Does compiler support "prototype" fn definitions -- int f(int i) { ... } */
                     21: #define MACRO_NOV_86           1       /* Full Nov 86 draft -- rescan cat'ed names, full re-scan */
                     22: #define LIB_NOV_86                     1       /* Full Nov 86 library */
                     23: #define WIDE_CHARS                     1       /* has L'x', L"x", and wc*mb* functions */
                     24: #define PP_CAT_AND_STR         1       /* has preprocessor catenate and stringize */
                     25: #define TRIGRAPHS                      1       /* supports trigraphs */
                     26: #define ANSI8612                       1       /* embodies Dec 86 decisions (see Suite User Manual) */
                     27: #define ANSI8703                       1       /* embodies Mar 87 decisions (see Suite User Manual) */
                     28: #define ANSI8706                       1       /* embodies Jun 87 decisions (see Suite User Manual) */
                     29: #define ANSI8709                       1       /* embodies Sep 87 decisions (see decision.88 */
                     30: #define ANSI8712                       1       /* embodies Dec 87 decisions (see decision.88 */
                     31: #define ANSI8804                       1       /* embodies Apr 88 decisions (see decision.88 */
                     32: #define ANSI8809                       1       /* embodies Sep 88 decisions (see decision.88 */
                     33: #if !LIB_NOV_86
                     34: #include "stubsh.h"
                     35: #endif /* LIB_NOV_86 */
                     36: #ifndef LIB_TEST
                     37: #include <limits.h>
                     38: #include <float.h>
                     39: #include <stddef.h>
                     40: #if ANSI8703   /* to get errno */
                     41: #include <errno.h>
                     42: #endif /* ANSI8703 */
                     43: #define LIB_TEST 0
                     44: #endif /* !LIB_TEST */
                     45: 
                     46: #define UCHAR  unsigned char           /* For pre-ANSI compiler, these */
                     47: #define USHORT unsigned short          /* can be simulated or faked */
                     48: #define ULONG  unsigned long           /* as needed */
                     49: #ifndef Dgeneric_ptr
                     50: #define Dgeneric_ptr
                     51: typedef void *generic_ptr;
                     52: #endif /* Dgeneric_ptr */
                     53: #endif /* COMPILER_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.