Annotation of parser3/src/include/pa_types.h, revision 1.7
1.2 paf 1: /*
1.7 ! paf 2: $Id: pa_types.h,v 1.6 2001/02/21 12:43:41 paf Exp $
1.2 paf 3: */
4:
1.1 paf 5: #ifndef PA_TYPES_H
6: #define PA_TYPES_H
7:
1.2 paf 8: #ifdef HAVE_CONFIG_H
9: #include "pa_config.h"
10: #endif
11:
1.4 paf 12: #ifdef WIN32
13: #define open _open
14: #define close _close
15: #define read _read
16: #define stat _stat
17: #endif
18:
1.5 paf 19: // for now: used in Exception::fcomment
1.4 paf 20: #define MAX_STRING 5*0x400
1.6 paf 21:
22: #define STATIC_NAME "STATIC"
1.2 paf 23:
1.1 paf 24: #undef uint
25: typedef unsigned int uint;
1.2 paf 26:
1.7 ! paf 27: #ifndef NO_STRING_ORIGIN
1.4 paf 28: struct Origin {
1.5 paf 29: char *file; // macros file name | load file name | sql query text
30: uint line; // file line no | record no
1.7 ! paf 31: };
1.2 paf 32: #endif
1.1 paf 33:
34: #endif
E-mail: