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
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# ifdef EFL_ECORE_BUILD
|
# ifdef EFL_EINA_BUILD
|
||||||
# ifdef DLL_EXPORT
|
# ifdef DLL_EXPORT
|
||||||
# define EAPI __declspec(dllexport)
|
# define EAPI __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
|
@ -14,18 +14,25 @@
|
||||||
# endif /* ! DLL_EXPORT */
|
# endif /* ! DLL_EXPORT */
|
||||||
# else
|
# else
|
||||||
# define EAPI __declspec(dllimport)
|
# define EAPI __declspec(dllimport)
|
||||||
# endif /* ! EFL_ECORE_BUILD */
|
# endif /* ! EFL_EINA_BUILD */
|
||||||
|
# define EAPI_WEAK
|
||||||
#else
|
#else
|
||||||
# ifdef __GNUC__
|
# ifdef __GNUC__
|
||||||
# if __GNUC__ >= 4
|
# if __GNUC__ >= 4
|
||||||
# define EAPI __attribute__ ((visibility("default")))
|
# define EAPI __attribute__ ((visibility("default")))
|
||||||
|
# define EAPI_WEAK __attribute__ ((weak))
|
||||||
# else
|
# else
|
||||||
# define EAPI
|
# define EAPI
|
||||||
|
# define EAPI_WEAK
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
|
/**
|
||||||
|
* @def EAPI
|
||||||
|
* @brief Used to export functions(by changing visibility).
|
||||||
|
*/
|
||||||
# define EAPI
|
# define EAPI
|
||||||
# endif
|
# endif
|
||||||
#endif /* ! _WIN32 */
|
#endif
|
||||||
|
|
||||||
EAPI int _eina_cpu_fast_core_get(void);
|
EAPI int _eina_cpu_fast_core_get(void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue