2008-10-24 00:32:08 -07:00
|
|
|
#ifndef __EVIL_PRIVATE_H__
|
|
|
|
#define __EVIL_PRIVATE_H__
|
|
|
|
|
2019-05-15 04:27:37 -07:00
|
|
|
#if _WIN32_WINNT < 0x0600
|
|
|
|
# error Windows XP not supported anymore
|
|
|
|
#endif
|
2008-10-24 00:32:08 -07:00
|
|
|
|
2008-10-28 01:59:12 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-10-05 13:09:47 -07:00
|
|
|
#ifdef __GNUC__
|
|
|
|
# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
|
|
|
|
# define EVIL_UNUSED __attribute__ ((__unused__))
|
|
|
|
# else
|
|
|
|
# define EVIL_UNUSED
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2019-05-15 04:27:37 -07:00
|
|
|
#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_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
|
|
|
|
|
2008-10-28 01:59:12 -07:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2008-10-24 00:32:08 -07:00
|
|
|
|
|
|
|
#endif /* __EVIL_PRIVATE_H__ */
|