diff options
author | Jean Guyomarc'h <jean.guyomarch@gmail.com> | 2016-01-06 00:19:27 +0100 |
---|---|---|
committer | Stefan Schmidt <stefan@osg.samsung.com> | 2016-01-07 12:03:05 +0100 |
commit | 4c5cc811d9bd5eed97ad94263d7e98266f393069 (patch) | |
tree | 5196f5be06b23eb07834fca0448aaedee043d826 /src/lib/ecore_cocoa/ecore_cocoa_private.h | |
parent | 34293b02af9a22f41bd26f4c0a3698b37a27e865 (diff) |
ecore_cocoa: don't redefine EAPI in private header
Diffstat (limited to 'src/lib/ecore_cocoa/ecore_cocoa_private.h')
-rw-r--r-- | src/lib/ecore_cocoa/ecore_cocoa_private.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/lib/ecore_cocoa/ecore_cocoa_private.h b/src/lib/ecore_cocoa/ecore_cocoa_private.h index ae0c6c8391..5a58bf51c3 100644 --- a/src/lib/ecore_cocoa/ecore_cocoa_private.h +++ b/src/lib/ecore_cocoa/ecore_cocoa_private.h | |||
@@ -1,32 +1,6 @@ | |||
1 | #ifndef _ECORE_COCOA_PRIVATE_H | 1 | #ifndef _ECORE_COCOA_PRIVATE_H |
2 | #define _ECORE_COCOA_PRIVATE_H | 2 | #define _ECORE_COCOA_PRIVATE_H |
3 | 3 | ||
4 | #ifdef EAPI | ||
5 | # undef EAPI | ||
6 | #endif | ||
7 | |||
8 | #ifdef _WIN32 | ||
9 | # ifdef EFL_ECORE_BUILD | ||
10 | # ifdef DLL_EXPORT | ||
11 | # define EAPI __declspec(dllexport) | ||
12 | # else | ||
13 | # define EAPI | ||
14 | # endif /* ! DLL_EXPORT */ | ||
15 | # else | ||
16 | # define EAPI __declspec(dllimport) | ||
17 | # endif /* ! EFL_ECORE_BUILD */ | ||
18 | #else | ||
19 | # ifdef __GNUC__ | ||
20 | # if __GNUC__ >= 4 | ||
21 | # define EAPI __attribute__ ((visibility("default"))) | ||
22 | # else | ||
23 | # define EAPI | ||
24 | # endif | ||
25 | # else | ||
26 | # define EAPI | ||
27 | # endif | ||
28 | #endif /* ! _WIN32 */ | ||
29 | |||
30 | extern int _ecore_cocoa_log_domain; | 4 | extern int _ecore_cocoa_log_domain; |
31 | 5 | ||
32 | #ifdef ERR | 6 | #ifdef ERR |