Annotation of parser3/src/include/pa_config_includes.h, revision 1.23.2.4
1.5 paf 1: /** @file
2: Parser: includes all Configure-d headers
3:
1.23.2.1 paf 4: Copyright (c) 2001-2003 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:
70: #ifdef HAVE_STDLIB_H
71: # include <stdlib.h>
72: #endif
73:
74: #ifdef HAVE_STRING_H
75: # include <string.h>
76: #endif
77:
1.4 paf 78: #ifdef HAVE_DIRECT_H
79: # include <direct.h>
1.8 parser 80: #endif
81:
82: #ifdef HAVE_SETJMP_H
83: # include <setjmp.h>
1.9 parser 84: #endif
85:
86: #ifdef HAVE_MEMORY_H
87: # include <memory.h>
1.13 paf 88: #endif
89:
90: #ifdef HAVE_NEW
91: #include <new>
1.14 paf 92: #endif
93:
94: #ifdef HAVE_SYS_FILE_H
95: #include <sys/file.h>
96: #endif
97:
98: #ifdef HAVE_SYS_LOCKING_H
99: #include <sys/locking.h>
100: #endif
101:
102: #ifdef HAVE_SYS_TYPES_H
103: #include <sys/types.h>
1.15 paf 104: #endif
105:
106: #ifdef HAVE_SYS_SELECT_H
107: #include <sys/select.h>
1.4 paf 108: #endif
1.21 paf 109:
110: #ifdef HAVE_SIGNAL_H
111: #include <signal.h>
112: #endif
113:
1.22 paf 114: #ifdef HAVE_SYS_SOCKET_H
1.23.2.2 paf 115: # include <sys/socket.h>
116: #else
1.23.2.4! paf 117: # ifdef HAVE_WINSOCK_H
1.23.2.2 paf 118: # include <winsock.h>
119: # endif
1.22 paf 120: #endif
121:
1.23.2.2 paf 122: // must go anywhere after winsock [cygwin time.h checks for already inclusion of winsock.h]
123: #if TIME_WITH_SYS_TIME
124: # include <sys/time.h>
125: # include <time.h>
126: #else
127: # ifdef HAVE_SYS_TIME_H
128: # include <sys/time.h>
129: # else
130: # include <time.h>
131: # endif
132: #endif
133:
134:
1.22 paf 135: #ifdef HAVE_NETINET_IN_H
136: #include <netinet/in.h>
137: #endif
138:
139: #ifdef HAVE_ARPA_INET_H
140: #include <arpa/inet.h>
141: #endif
142:
143: #ifdef HAVE_NETDB_H
144: #include <netdb.h>
145: #endif
1.23.2.2 paf 146:
147:
E-mail: