summaryrefslogtreecommitdiff
path: root/src/lib/ecore/Efl_Core.h
diff options
context:
space:
mode:
authorCedric Bail <cedric@osg.samsung.com>2017-10-27 17:15:14 -0700
committerCedric Bail <cedric@osg.samsung.com>2017-10-27 18:51:38 -0700
commit1ecbe5cffb8ebb84189e829f16d463c2aaac1bfa (patch)
tree549b2075d720d65cf431385a584dbdd36b3f1a15 /src/lib/ecore/Efl_Core.h
parentd81b73b1a74654bc8ee040077bd525e1c1c50630 (diff)
ecore: add Efl_Core.h
Diffstat (limited to 'src/lib/ecore/Efl_Core.h')
-rw-r--r--src/lib/ecore/Efl_Core.h74
1 files changed, 74 insertions, 0 deletions
diff --git a/src/lib/ecore/Efl_Core.h b/src/lib/ecore/Efl_Core.h
new file mode 100644
index 0000000000..0f670b50fb
--- /dev/null
+++ b/src/lib/ecore/Efl_Core.h
@@ -0,0 +1,74 @@
1#ifndef _EFL_CORE_H
2#define _EFL_CORE_H
3
4#include <Efl_Config.h>
5
6#ifdef _MSC_VER
7# include <Evil.h>
8#endif
9
10#include <Eina.h>
11#include <Eo.h>
12#include <Efl.h>
13
14#ifdef EAPI
15# undef EAPI
16#endif
17
18#ifdef _WIN32
19# ifdef EFL_ECORE_BUILD
20# ifdef DLL_EXPORT
21# define EAPI __declspec(dllexport)
22# else
23# define EAPI
24# endif /* ! DLL_EXPORT */
25# else
26# define EAPI __declspec(dllimport)
27# endif /* ! EFL_ECORE_BUILD */
28#else
29# ifdef __GNUC__
30# if __GNUC__ >= 4
31# define EAPI __attribute__ ((visibility("default")))
32# else
33# define EAPI
34# endif
35# else
36# define EAPI
37# endif
38#endif /* ! _WIN32 */
39
40#ifdef _WIN32
41# define WIN32_LEAN_AND_MEAN
42# include <winsock2.h>
43# undef WIN32_LEAN_AND_MEAN
44#elif defined (__FreeBSD__) || defined (__OpenBSD__)
45# include <sys/select.h>
46# include <signal.h>
47#elif defined (__ANDROID__)
48# include <sys/select.h>
49#elif defined (__sun)
50# include <sys/siginfo.h>
51#else
52# include <sys/time.h>
53# if !defined (EXOTIC_NO_SIGNAL)
54# include <signal.h>
55# endif
56#endif
57
58#include <sys/types.h>
59
60#ifdef __cplusplus
61extern "C" {
62#endif
63
64#include "Ecore_Common.h"
65#include "Ecore_Eo.h"
66
67#ifdef __cplusplus
68}
69#endif
70
71#undef EAPI
72#define EAPI
73
74#endif