Line | |
---|
1 | #ifdef __cplusplus
|
---|
2 | #define NULL __null
|
---|
3 | #else
|
---|
4 | #define NULL ((void *)0)
|
---|
5 | #endif
|
---|
6 |
|
---|
7 | #include <assert.h>
|
---|
8 | #include <ctype.h>
|
---|
9 | #include <float.h>
|
---|
10 | #include <locale.h>
|
---|
11 | #include <math.h>
|
---|
12 | #include <stdio.h>
|
---|
13 | #include <stdlib.h>
|
---|
14 | #include <string.h>
|
---|
15 | #include <strings.h>
|
---|
16 | #include <time.h>
|
---|
17 | #include <sys/param.h>
|
---|
18 | #include <sys/time.h>
|
---|
19 | #include <sys/timeb.h>
|
---|
20 | #include <sys/types.h>
|
---|
21 |
|
---|
22 | #ifdef __cplusplus
|
---|
23 |
|
---|
24 | // Work around bug 3553309 by re-including <ctype.h>.
|
---|
25 | #include <cctype>
|
---|
26 | #define isalnum(c) __istype((c), (_CTYPE_A|_CTYPE_D))
|
---|
27 | #define isalpha(c) __istype((c), _CTYPE_A)
|
---|
28 | #define iscntrl(c) __istype((c), _CTYPE_C)
|
---|
29 | #define isdigit(c) __isctype((c), _CTYPE_D) /* ANSI -- locale independent */
|
---|
30 | #define isgraph(c) __istype((c), _CTYPE_G)
|
---|
31 | #define islower(c) __istype((c), _CTYPE_L)
|
---|
32 | #define isprint(c) __istype((c), _CTYPE_R)
|
---|
33 | #define ispunct(c) __istype((c), _CTYPE_P)
|
---|
34 | #define isspace(c) __istype((c), _CTYPE_S)
|
---|
35 | #define isupper(c) __istype((c), _CTYPE_U)
|
---|
36 | #define isxdigit(c) __isctype((c), _CTYPE_X) /* ANSI -- locale independent */
|
---|
37 | #define tolower(c) __tolower(c)
|
---|
38 | #define toupper(c) __toupper(c)
|
---|
39 |
|
---|
40 | #include <list>
|
---|
41 | #include <typeinfo>
|
---|
42 |
|
---|
43 | #ifdef __cplusplus
|
---|
44 | #define new ("if you use new/delete make sure to include config.h at the top of the file"())
|
---|
45 | #define delete ("if you use new/delete make sure to include config.h at the top of the file"())
|
---|
46 | #endif
|
---|
47 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.