00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #define USE_STDARG 1
00012 #define USE_PROTOTYPES 1
00013
00014 #define X11 X11
00015 #define ABEKASA60 ABEKASA60
00016 #define ABEKASA62 ABEKASA62
00017 #define ALIAS ALIAS
00018 #define CUBICOMP CUBICOMP
00019 #define CONST_DECL const
00020 #define GIF GIF
00021 #define GRAYFILES GRAYFILES
00022 #define MACPAINT MACPAINT
00023 #define POSTSCRIPT POSTSCRIPT
00024 #define TARGA TARGA
00025 #define TIFF2p4 TIFF2p4
00026 #define VICAR VICAR
00027 #define WASATCH WASATCH
00028 #define WAVEFRONT WAVEFRONT
00029 #define GCC GCC
00030 #define HPUX800CC HPUX800CC
00031 #define NO_RANLIB NO_RANLIB
00032 #define SYS_V_SETPGRP SYS_V_SETPGRP
00033 #define USE_SHARED_LIB USE_SHARED_LIB
00034 #define USE_STRING_H USE_STRING_H
00035 #define USE_TIME_H USE_TIME_H
00036 #define VOID_STAR VOID_STAR
00037
00038
00039
00040
00041 #ifdef CONST_DECL
00042 #undef CONST_DECL
00043 #define CONST_DECL const
00044
00045 #else
00046 #define CONST_DECL
00047
00048 #endif
00049
00050
00051 #ifndef USE_XLIBINT_H
00052 #define XLIBINT_H_NOT_AVAILABLE
00053 #endif
00054
00055
00056 #ifdef VOID_STAR
00057 typedef void *void_star;
00058 #else
00059 typedef char *void_star;
00060 #endif
00061
00062 #ifdef USE_STDLIB_H
00063 #include <stdlib.h>
00064 #else
00065
00066
00067
00068
00069
00070 #ifndef NO_DECLARE_MALLOC
00071 #ifdef USE_PROTOTYPES
00072 # include <sys/types.h>
00073 extern void_star malloc( size_t );
00074 extern void_star calloc( size_t, size_t );
00075 extern void_star realloc( void_star, size_t );
00076 extern void free( void_star );
00077 #else
00078 extern void_star malloc();
00079 extern void_star realloc();
00080 extern void_star calloc();
00081 extern void free();
00082 extern void cfree();
00083 #endif
00084 #endif
00085
00086 #ifdef USE_PROTOTYPES
00087 extern char *getenv( CONST_DECL char *name );
00088 #else
00089 extern char *getenv();
00090 #endif
00091
00092 #endif
00093
00094 #ifdef USE_STRING_H
00095
00096 # include <string.h>
00097 # define index strchr
00098 # define rindex strrchr
00099 #else
00100
00101 # include <strings.h>
00102
00103 #ifdef __STDC__
00104 # define index strchr
00105 # define rindex strrchr
00106 #endif
00107 #endif
00108
00109 #ifdef NEED_BSTRING
00110
00111
00112
00113
00114
00115 # define bzero( _str, _n ) memset( _str, '\0', _n )
00116 # define bcopy( _from, _to, _count ) memcpy( _to, _from, _count )
00117 #endif
00118
00119 #ifdef NEED_SETLINEBUF
00120 # define setlinebuf( _s ) setvbuf( (_s), NULL, _IOLBF, 0 )
00121 #endif
00122
00123
00124
00125
00126 #include "common.h"
00127
00128