forked from enlightenment/efl
elm build for osx - try another dotting of i's and crossing of t's
try this and fix T6448 ...
This commit is contained in:
parent
5162d66c51
commit
9c88bc4933
|
@ -61,7 +61,8 @@
|
|||
* @brief Used to export functions (by changing visibility).
|
||||
*/
|
||||
# define EAPI
|
||||
# endif
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Weak symbols part of EFL API - Note: not weak on all platforms */
|
||||
|
|
|
@ -83,6 +83,9 @@
|
|||
#ifdef EAPI
|
||||
# undef EAPI
|
||||
#endif
|
||||
#ifdef EWAPI
|
||||
# undef EWAPI
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef ELEMENTARY_BUILD
|
||||
|
@ -94,18 +97,25 @@
|
|||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif /* ! EFL_EVAS_BUILD */
|
||||
# define EAPI_WEAK
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
# if __GNUC__ >= 4
|
||||
# define EAPI __attribute__ ((visibility("default")))
|
||||
# define EAPI_WEAK __attribute__ ((weak))
|
||||
# else
|
||||
# define EAPI
|
||||
# endif
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
# else
|
||||
# define EAPI
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
#define EWAPI EAPI EAPI_WEAK
|
||||
|
||||
|
||||
/* allow usage from c++ */
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
#ifdef EAPI
|
||||
# undef EAPI
|
||||
#endif
|
||||
#ifdef EWAPI
|
||||
# undef EWAPI
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifdef ELEMENTARY_BUILD
|
||||
|
@ -19,16 +22,22 @@
|
|||
# else
|
||||
# define EAPI __declspec(dllimport)
|
||||
# endif /* ! EFL_EVAS_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
|
||||
# define EAPI
|
||||
# define EAPI_WEAK
|
||||
# endif
|
||||
#endif /* ! _WIN32 */
|
||||
|
||||
#define EWAPI EAPI EAPI_WEAK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "Elementary.h"
|
||||
|
||||
#define ELEMENTARY_BUILD
|
||||
#undef ELM_MODULE_HELPER_H
|
||||
#include "elm_module_helper.h"
|
||||
|
||||
/* to enable this module
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "elm_ctxpopup.eo.h"
|
||||
|
||||
#define ELEMENTARY_BUILD
|
||||
#undef ELM_MODULE_HELPER_H
|
||||
#include "elm_module_helper.h"
|
||||
|
||||
#define CLOCK_FIELD_COUNT 8
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "Elementary.h"
|
||||
|
||||
#define ELEMENTARY_BUILD
|
||||
#undef ELM_MODULE_HELPER_H
|
||||
#include "private.h"
|
||||
|
||||
/* including declaration of each prefs item implementation iface struct */
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "Elementary.h"
|
||||
|
||||
#define ELEMENTARY_BUILD
|
||||
#undef ELM_MODULE_HELPER_H
|
||||
#include "elm_module_helper.h"
|
||||
|
||||
// module api funcs needed
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
#include "elm_widget_map.h"
|
||||
|
||||
#define ELEMENTARY_BUILD
|
||||
#undef ELM_MODULE_HELPER_H
|
||||
#include "elm_module_helper.h"
|
||||
|
||||
EAPI Eina_Stringshare *
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "elm_widget_web.h"
|
||||
|
||||
#define ELEMENTARY_BUILD
|
||||
#undef ELM_MODULE_HELPER_H
|
||||
#include "elm_module_helper.h"
|
||||
#include "elm_web_none.eo.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue