Annotation of parser3/src/include/pa_config_includes.h, revision 1.20
1.5 paf 1: /** @file
2: Parser: includes all Configure-d headers
3:
1.16 paf 4: Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com)
1.17 paf 5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
1.5 paf 6:
7: when used Configure [HAVE_CONFIG_H] it uses defines from Configure,
8: fixed otherwise.
9: */
1.10 parser 10:
11: #if _MSC_VER
12: # pragma warning(disable:4291) // disable warning
13: // "no matching operator delete found; memory will not be freed if initialization throws an exception
14: #endif
1.5 paf 15:
1.1 paf 16: #if HAVE_CONFIG_H
17: # include "pa_config_auto.h"
18: #else
19: # include "pa_config_fixed.h"
1.6 paf 20: #endif
21:
1.7 paf 22: #ifdef __cplusplus
23: # undef inline
1.1 paf 24: #endif
25:
1.3 paf 26: #ifdef HAVE_CTYPE_H
27: # include <ctype.h>
28: #endif
29:
30: #ifdef HAVE_ERRNO_H
31: # include <errno.h>
32: #endif
33:
34: #ifdef HAVE_FCNTL_H
35: # include <fcntl.h>
36: #endif
37:
38: #ifdef HAVE_IO_H
39: # include <io.h>
40: #endif
41:
42: #ifdef HAVE_PROCESS_H
43: # include <process.h>
44: #endif
45:
1.1 paf 46: #ifdef HAVE_STDARG_H
47: # include <stdarg.h>
48: #endif
49:
1.8 parser 50: #ifdef HAVE_STDDEF_H
51: # include <stddef.h>
52: #endif
53:
1.3 paf 54: #ifdef HAVE_STDIO_H
55: # include <stdio.h>
56: #endif
57:
58: #ifdef HAVE_SYS_STAT_H
59: # include <sys/stat.h>
60: #endif
61:
62: #if defined(HAVE_UNISTD_H) && !defined(NO_UNISTD_H)
1.1 paf 63: # include <unistd.h>
64: #endif
1.3 paf 65:
66: #ifdef HAVE_MATH_H
67: # include <math.h>
68: #endif
69:
1.19 paf 70: #if TIME_WITH_SYS_TIME
1.15 paf 71: # include <sys/time.h>
1.18 paf 72: # include <time.h>
1.19 paf 73: #else
74: # ifdef HAVE_SYS_TIME_H
75: # include <sys/time.h>
76: # else
77: # include <time.h>
78: # endif
1.3 paf 79: #endif
80:
81: #ifdef HAVE_STDLIB_H
82: # include <stdlib.h>
83: #endif
84:
85: #ifdef HAVE_STRING_H
86: # include <string.h>
87: #endif
88:
1.4 paf 89: #ifdef HAVE_DIRECT_H
90: # include <direct.h>
1.8 parser 91: #endif
92:
93: #ifdef HAVE_SETJMP_H
94: # include <setjmp.h>
1.9 parser 95: #endif
96:
97: #ifdef HAVE_MEMORY_H
98: # include <memory.h>
1.13 paf 99: #endif
100:
101: #ifdef HAVE_NEW
102: #include <new>
1.14 paf 103: #endif
104:
105: #ifdef HAVE_SYS_FILE_H
106: #include <sys/file.h>
107: #endif
108:
109: #ifdef HAVE_SYS_LOCKING_H
110: #include <sys/locking.h>
111: #endif
112:
113: #ifdef HAVE_SYS_TYPES_H
114: #include <sys/types.h>
1.15 paf 115: #endif
116:
117: #ifdef HAVE_SYS_SELECT_H
118: #include <sys/select.h>
1.4 paf 119: #endif
E-mail: