OLD | NEW |
1 /* | 1 /* |
2 * libxml.h: internal header only used during the compilation of libxml | 2 * libxml.h: internal header only used during the compilation of libxml |
3 * | 3 * |
4 * See COPYRIGHT for the status of this software | 4 * See COPYRIGHT for the status of this software |
5 * | 5 * |
6 * Author: breese@users.sourceforge.net | 6 * Author: breese@users.sourceforge.net |
7 */ | 7 */ |
8 | 8 |
9 #ifndef __XML_LIBXML_H__ | 9 #ifndef __XML_LIBXML_H__ |
10 #define __XML_LIBXML_H__ | 10 #define __XML_LIBXML_H__ |
11 | 11 |
12 #ifndef NO_LARGEFILE_SOURCE | 12 #ifndef NO_LARGEFILE_SOURCE |
13 #ifndef _LARGEFILE_SOURCE | 13 #ifndef _LARGEFILE_SOURCE |
14 #define _LARGEFILE_SOURCE | 14 #define _LARGEFILE_SOURCE |
15 #endif | 15 #endif |
16 #ifndef _FILE_OFFSET_BITS | 16 #ifndef _FILE_OFFSET_BITS |
17 #define _FILE_OFFSET_BITS 64 | 17 #define _FILE_OFFSET_BITS 64 |
18 #endif | 18 #endif |
19 #endif | 19 #endif |
| 20 #ifndef _CRT_NO_POSIX_ERROR_CODES |
| 21 #define _CRT_NO_POSIX_ERROR_CODES |
| 22 #endif |
20 | 23 |
21 #if defined(macintosh) | 24 #if defined(macintosh) |
22 #include "config-mac.h" | 25 #include "config-mac.h" |
23 #elif defined(_WIN32_WCE) | 26 #elif defined(_WIN32_WCE) |
24 /* | 27 /* |
25 * Windows CE compatibility definitions and functions | 28 * Windows CE compatibility definitions and functions |
26 * This is needed to compile libxml2 for Windows CE. | 29 * This is needed to compile libxml2 for Windows CE. |
27 * At least I tested it with WinCE 5.0 for Emulator and WinCE 4.2/SH4 target | 30 * At least I tested it with WinCE 5.0 for Emulator and WinCE 4.2/SH4 target |
28 */ | 31 */ |
29 #include <win32config.h> | 32 #include <win32config.h> |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 #include "elfgcchack.h" | 90 #include "elfgcchack.h" |
88 #endif | 91 #endif |
89 #endif | 92 #endif |
90 #endif | 93 #endif |
91 #endif | 94 #endif |
92 #endif | 95 #endif |
93 #ifndef PIC | 96 #ifndef PIC |
94 # define LIBXML_STATIC | 97 # define LIBXML_STATIC |
95 #endif | 98 #endif |
96 #endif /* ! __XML_LIBXML_H__ */ | 99 #endif /* ! __XML_LIBXML_H__ */ |
OLD | NEW |