00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef BASICDEFS_INCLUDED
00027
00028 #ifndef FALSE
00029 #define FALSE 0
00030 #endif
00031 #ifndef TRUE
00032 #define TRUE (!FALSE)
00033 #endif
00034
00035 #ifndef NO
00036 #define NO FALSE
00037 #endif
00038 #ifndef YES
00039 #define YES TRUE
00040 #endif
00041
00042
00043 #ifdef WIN_NT
00044 #define SLASH '\\'
00045 #else
00046 #define SLASH '/'
00047 #endif
00048
00049 #ifndef MAXPATHLEN
00050 #define MAXPATHLEN 1024
00051 #endif
00052
00053 #ifndef MAXNAME
00054 #define MAXNAME 255
00055 #endif
00056
00057 #ifndef MAXBUFSIZE
00058 #define MAXBUFSIZE 1024
00059 #endif
00060
00061 #define MAX_IO_BUFSIZE 4096
00062
00063 #define K 1024
00064
00065
00066
00067 #define XSB_STYLE_DCG 0
00068 #define STANDARD_DCG 1
00069
00070
00071 #ifndef xsb_max
00072 #define xsb_max(p1,p2) ((p1)>=(p2)?(p1):(p2))
00073 #endif
00074 #ifndef xsb_min
00075 #define xsb_min(p1,p2) ((p1)<=(p2)?(p1):(p2))
00076 #endif
00077
00078 #define MOD %
00079
00080 #define IsNULL(ptr) ( (ptr) == NULL )
00081 #define IsNonNULL(ptr) ( (ptr) != NULL )
00082
00083 #endif
00084
00085 #define BASICDEFS_INCLUDED
00086