OLD | NEW |
1 /* | 1 /* |
2 * Summary: internal header only used during the compilation of libxslt | 2 * Summary: internal header only used during the compilation of libxslt |
3 * Description: internal header only used during the compilation of libxslt | 3 * Description: internal header only used during the compilation of libxslt |
4 * | 4 * |
5 * Copy: See Copyright for the status of this software. | 5 * Copy: See Copyright for the status of this software. |
6 * | 6 * |
7 * Author: Daniel Veillard | 7 * Author: Daniel Veillard |
8 */ | 8 */ |
9 | 9 |
10 #ifndef __XSLT_LIBXSLT_H__ | 10 #ifndef __XSLT_LIBXSLT_H__ |
11 #define __XSLT_LIBXSLT_H__ | 11 #define __XSLT_LIBXSLT_H__ |
12 | 12 |
13 #if defined(WIN32) && !defined (__CYGWIN__) && !defined (__MINGW32__) | 13 #if defined(WIN32) && !defined (__CYGWIN__) && !defined (__MINGW32__) |
14 #include <win32config.h> | 14 #include <win32config.h> |
15 #else | 15 #else |
16 #include "config.h" | 16 #include "config.h" |
17 #endif | 17 #endif |
18 | 18 |
19 #include <libxslt/xsltconfig.h> | 19 #include <libxslt/xsltconfig.h> |
20 #include <libxml/xmlversion.h> | 20 #include <libxml/xmlversion.h> |
21 | 21 |
22 #if !defined LIBXSLT_PUBLIC | 22 #if !defined LIBXSLT_PUBLIC |
23 #if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !define
d LIBXSLT_STATIC | 23 #if (defined (__CYGWIN__) || defined _MSC_VER) && !defined IN_LIBXSLT && !define
d LIBXSLT_STATIC |
24 #define LIBXSLT_PUBLIC __declspec(dllimport) | 24 #define LIBXSLT_PUBLIC __declspec(dllimport) |
25 #else | 25 #else |
26 #define LIBXSLT_PUBLIC | 26 #define LIBXSLT_PUBLIC |
27 #endif | 27 #endif |
28 #endif | 28 #endif |
29 | 29 |
| 30 #if defined(_MSC_VER) || defined(__MINGW32__) |
| 31 #include <io.h> |
| 32 #include <direct.h> |
| 33 #define mkdir(p,m) _mkdir(p) |
| 34 #endif |
| 35 |
30 #endif /* ! __XSLT_LIBXSLT_H__ */ | 36 #endif /* ! __XSLT_LIBXSLT_H__ */ |
OLD | NEW |