Go to the documentation of this file.00001
00002
00003
00004
00005
00006 #ifdef OS2
00007 #ifndef OS2CONF_H
00008 #define OS2CONF_H
00009
00010
00011
00012
00013
00014
00015
00016 #define OS2_GCC
00017
00018
00019
00020
00021
00022
00023
00024
00025 #define OS2_USESYSHEADERS
00026
00027
00028 #if defined(OS2_GCC) || defined(OS2_CSET2)
00029 # define OS2_32BITAPI
00030 #endif
00031
00032
00033
00034
00035
00036
00037
00038 #define RANDOM
00039 #define SHELL
00040
00041 #define ANSI_DEFAULT
00042 #define TEXTCOLOR
00043
00044
00045
00046
00047
00048 #ifdef MSDOS
00049 # undef MSDOS
00050 #endif
00051
00052 #ifndef MICRO
00053 # define MICRO
00054 #endif
00055
00056 #if !defined(TERMLIB) && !defined(ANSI_DEFAULT)
00057 # define ANSI_DEFAULT
00058 #endif
00059
00060 #define PATHLEN 260
00061 #define FILENAME 260
00062 #ifndef MICRO_H
00063 #include "micro.h"
00064 #endif
00065
00066 #ifndef SYSTEM_H
00067 #include "system.h"
00068 #endif
00069
00070 #ifndef index
00071 #define index strchr
00072 #endif
00073 #ifndef rindex
00074 #define rindex strrchr
00075 #endif
00076
00077 #include <time.h>
00078
00079
00080
00081 #ifdef RANDOM
00082 # define Rand() random()
00083 #else
00084 # define Rand() rand()
00085 #endif
00086
00087
00088
00089 #include <sys\types.h>
00090 #include <sys\stat.h>
00091
00092 #define FCMASK (S_IREAD | S_IWRITE)
00093
00094 #include <fcntl.h>
00095
00096 #ifdef __EMX__
00097 #include <unistd.h>
00098 #endif
00099
00100 #ifndef REDO
00101 # undef Getchar
00102 # define Getchar nhgetch
00103 #endif
00104
00105 void hangup(int i);
00106 #endif
00107 #endif