summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-13 06:28:37 +0000
committerDaniel Juyung Seo <seojuyung2@gmail.com>2012-04-13 06:28:37 +0000
commit8432f03c3dc2302681d132eff89311e90017e5fb (patch)
tree7f69fd74e743111b1c96ef4e8a375a01fdfd85f2 /src/lib
parent7fa9a1cbc75b56ad5789140d96460c597958d1b1 (diff)
elm Elementary.h.in: Macro formatting like other libraries.
SVN revision: 70162
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Elementary.h.in42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/lib/Elementary.h.in b/src/lib/Elementary.h.in
index ca7eddc78..37ce93b8b 100644
--- a/src/lib/Elementary.h.in
+++ b/src/lib/Elementary.h.in
@@ -92,35 +92,35 @@
92#endif 92#endif
93 93
94#ifdef EAPI 94#ifdef EAPI
95#undef EAPI 95# undef EAPI
96#endif 96#endif
97 97
98#ifdef _WIN32 98#ifdef _WIN32
99#ifdef ELEMENTARY_BUILD 99# ifdef ELEMENTARY_BUILD
100#ifdef DLL_EXPORT 100# ifdef DLL_EXPORT
101#define EAPI __declspec(dllexport) 101# define EAPI __declspec(dllexport)
102# else
103# define EAPI
104# endif /* ! DLL_EXPORT */
105# else
106# define EAPI __declspec(dllimport)
107# endif /* ! EFL_EVAS_BUILD */
102#else 108#else
103#define EAPI 109# ifdef __GNUC__
104#endif /* ! DLL_EXPORT */ 110# if __GNUC__ >= 4
105#else 111# define EAPI __attribute__ ((visibility("default")))
106#define EAPI __declspec(dllimport) 112# else
107#endif /* ! EFL_EVAS_BUILD */ 113# define EAPI
108#else 114# endif
109#ifdef __GNUC__ 115# else
110#if __GNUC__ >= 4 116# define EAPI
111#define EAPI __attribute__ ((visibility("default"))) 117# endif
112#else
113#define EAPI
114#endif
115#else
116#define EAPI
117#endif
118#endif /* ! _WIN32 */ 118#endif /* ! _WIN32 */
119 119
120#ifdef _WIN32 120#ifdef _WIN32
121#define EAPI_MAIN 121# define EAPI_MAIN
122#else 122#else
123#define EAPI_MAIN EAPI 123# define EAPI_MAIN EAPI
124#endif 124#endif
125 125
126/* allow usage from c++ */ 126/* allow usage from c++ */