forked from enlightenment/efl
eina_cpu: Fix broken E_API macro
Oops, I cut and paste it from a wrong file. Thanks to Vincent Torri for the quick catch.
This commit is contained in:
parent
50d508866e
commit
60f3f5fbfd
|
@ -6,7 +6,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef EFL_ECORE_BUILD
|
||||
# ifdef EFL_EINA_BUILD
|
||||
# ifdef DLL_EXPORT
|
||||
# define EAPI __declspec(dllexport)
|
||||
# else
|
||||
|
@ -14,18 +14,25 @@
|
|||
# endif /* ! DLL_EXPORT */
|
||||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif /* ! EFL_ECORE_BUILD */
|
||||
# endif /* ! EFL_EINA_BUILD */
|
||||
# define EAPI_WEAK
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# define EAPI_WEAK __attribute__ ((weak))
|
||||
# else
|
||||
# define EAPI
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
# else
|
||||
/**
|
||||
* @def EAPI
|
||||
* @brief Used to export functions(by changing visibility).
|
||||
*/
|
||||
# define EAPI
|
||||
# endif
|
||||
#endif /* ! _WIN32 */
|
||||
#endif
|
||||
|
||||
EAPI int _eina_cpu_fast_core_get(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue