summaryrefslogtreecommitdiff
path: root/src/lib/evil/evil_macro.h
blob: 88cec3dcf8dc2ef73eab9fbaf044573db1aa83aa (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_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__ */