efl/src/lib/evil/evil_private.h

73 lines
1.2 KiB
C

#ifndef __EVIL_PRIVATE_H__
#define __EVIL_PRIVATE_H__
#if _WIN32_WINNT < 0x0600
# error Windows XP not supported anymore
#endif
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __GNUC__
# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
# define EVIL_UNUSED __attribute__ ((__unused__))
# else
# define EVIL_UNUSED
# endif
#endif
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
#include <sys/stat.h> /* for mkdir in evil_macro_wrapper */
#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
#include "evil_dlfcn.h"
#include "evil_fcntl.h"
#include "evil_langinfo.h"
#include "evil_locale.h"
#include "evil_main.h"
#include "evil_mman.h"
#include "evil_stdlib.h"
#include "evil_stdio.h"
#include "evil_string.h"
#include "evil_time.h"
#include "evil_unistd.h"
#include "evil_util.h"
#define sigsetjmp(Env, Save) setjmp(Env)
#include "evil_macro_wrapper.h"
#undef EAPI
#define EAPI
#ifdef __cplusplus
}
#endif
#endif /* __EVIL_PRIVATE_H__ */