1 #ifndef __EVIL_PRIVATE_H__
2 #define __EVIL_PRIVATE_H__
3 
4 #if _WIN32_WINNT < 0x0600
5 # error Windows XP not supported anymore
6 #endif
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 #ifdef __GNUC__
13 # if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
14 #  define EVIL_UNUSED __attribute__ ((__unused__))
15 # else
16 #  define EVIL_UNUSED
17 # endif
18 #endif
19 
20 #ifndef WIN32_LEAN_AND_MEAN
21 # define WIN32_LEAN_AND_MEAN
22 #endif
23 #include <windows.h>
24 #undef WIN32_LEAN_AND_MEAN
25 
26 #include <sys/stat.h> /* for mkdir in evil_macro_wrapper */
27 
28 
29 #ifdef EAPI
30 # undef EAPI
31 #endif
32 
33 #ifdef EFL_BUILD
34 # ifdef DLL_EXPORT
35 #  define EAPI __declspec(dllexport)
36 # else
37 #  define EAPI
38 # endif
39 #else
40 # define EAPI __declspec(dllimport)
41 #endif
42 
43 #ifndef PATH_MAX
44 # define PATH_MAX MAX_PATH
45 #endif
46 
47 #include "evil_dlfcn.h"
48 #include "evil_fcntl.h"
49 #include "evil_langinfo.h"
50 #include "evil_locale.h"
51 #include "evil_main.h"
52 #include "evil_mman.h"
53 #include "evil_stdlib.h"
54 #include "evil_stdio.h"
55 #include "evil_string.h"
56 #include "evil_time.h"
57 #include "evil_unistd.h"
58 #include "evil_util.h"
59 
60 #define sigsetjmp(Env, Save) setjmp(Env)
61 
62 #include "evil_macro_wrapper.h"
63 
64 #undef EAPI
65 #define EAPI
66 
67 #ifdef __cplusplus
68 }
69 #endif
70 
71 
72 #endif /* __EVIL_PRIVATE_H__ */
73