summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-12-27 14:23:28 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-12-27 14:55:15 +0900
commit6ccfea3d51c9571e4cc40d6f1d0c0a4e2bf07bd4 (patch)
treeb11002485f60f86b52f48bd8db2ee2de50341c84
parentb7eb3c5fe8cfe4fccd9b5c08edc44c1523b3f156 (diff)
Efl_Ui.h - remember to define EWAPI too
-rw-r--r--src/lib/elementary/Efl_Ui.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/elementary/Efl_Ui.h b/src/lib/elementary/Efl_Ui.h
index 927b782895..4acb6d7b52 100644
--- a/src/lib/elementary/Efl_Ui.h
+++ b/src/lib/elementary/Efl_Ui.h
@@ -56,6 +56,9 @@
56#ifdef EAPI 56#ifdef EAPI
57# undef EAPI 57# undef EAPI
58#endif 58#endif
59#ifdef EWAPI
60# undef EWAPI
61#endif
59 62
60#ifdef _WIN32 63#ifdef _WIN32
61# ifdef EFL_ELEMENTARY_BUILD 64# ifdef EFL_ELEMENTARY_BUILD
@@ -67,18 +70,24 @@
67# else 70# else
68# define EAPI __declspec(dllimport) 71# define EAPI __declspec(dllimport)
69# endif /* ! EFL_ECORE_BUILD */ 72# endif /* ! EFL_ECORE_BUILD */
73# define EAPI_WEAK
70#else 74#else
71# ifdef __GNUC__ 75# ifdef __GNUC__
72# if __GNUC__ >= 4 76# if __GNUC__ >= 4
73# define EAPI __attribute__ ((visibility("default"))) 77# define EAPI __attribute__ ((visibility("default")))
78# define EAPI_WEAK __attribute__ ((weak))
74# else 79# else
75# define EAPI 80# define EAPI
76# endif 81# define EAPI_WEAK
82# endif
77# else 83# else
78# define EAPI 84# define EAPI
85# define EAPI_WEAK
79# endif 86# endif
80#endif /* ! _WIN32 */ 87#endif /* ! _WIN32 */
81 88
89#define EWAPI EAPI EAPI_WEAK
90
82#ifdef _WIN32 91#ifdef _WIN32
83# define WIN32_LEAN_AND_MEAN 92# define WIN32_LEAN_AND_MEAN
84# include <winsock2.h> 93# include <winsock2.h>