forked from enlightenment/efl
ecore_cocoa: don't redefine EAPI in private header
This commit is contained in:
parent
34293b02af
commit
4c5cc811d9
|
@ -1,32 +1,6 @@
|
|||
#ifndef _ECORE_COCOA_PRIVATE_H
|
||||
#define _ECORE_COCOA_PRIVATE_H
|
||||
|
||||
#ifdef EAPI
|
||||
# undef EAPI
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef EFL_ECORE_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else
|
||||
# define EAPI
|
||||
# endif /* ! DLL_EXPORT */
|
||||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif /* ! EFL_ECORE_BUILD */
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
extern int _ecore_cocoa_log_domain;
|
||||
|
||||
#ifdef ERR
|
||||
|
|
Loading…
Reference in New Issue