summaryrefslogtreecommitdiff
path: root/src/lib/evil/evil_macro.h
blob: 966710ca4f3d3d01411ca1038802f66a10541a5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef __EVIL_MACRO_H__
#define __EVIL_MACRO_H__

#if _WIN32_WINNT < 0x0600
# error Windows XP not supported anymore
#endif

#ifdef EAPI
# undef EAPI
#endif

#ifdef EFL_EVIL_BUILD
# ifdef DLL_EXPORT
#  define EAPI __declspec(dllexport)
# else
#  define EAPI
# endif
#else
# define EAPI __declspec(dllimport)
#endif


#ifndef PATH_MAX
# define PATH_MAX MAX_PATH
#endif

#endif /* __EVIL_MACRO_H__ */