summaryrefslogtreecommitdiff
path: root/src/lib/edje/Efl_Layout.h
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertise.dev>2021-05-23 20:08:18 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-05-23 20:47:23 +0100
commit6c969f6b7d59e64e8bdf09a5e535de9561d77535 (patch)
tree2c80553cec1e0a38d8151eba1fb100b6abd0ae43 /src/lib/edje/Efl_Layout.h
parent74204bccd724fe9dee428056d4710f37bbc2cffb (diff)
edje: Add weak symbol
Summary: The symbols will be needed when we change how Eolian generates import/export symbols in Eio Reviewers: vtorri, raster Subscribers: raster, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12272
Diffstat (limited to '')
-rw-r--r--src/lib/edje/Efl_Layout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/edje/Efl_Layout.h b/src/lib/edje/Efl_Layout.h
index 3fed1f381f..6bc6696b69 100644
--- a/src/lib/edje/Efl_Layout.h
+++ b/src/lib/edje/Efl_Layout.h
@@ -25,15 +25,19 @@
25# else 25# else
26# define EAPI __declspec(dllimport) 26# define EAPI __declspec(dllimport)
27# endif 27# endif
28# define EAPI_WEAK
28#else 29#else
29# ifdef __GNUC__ 30# ifdef __GNUC__
30# if __GNUC__ >= 4 31# if __GNUC__ >= 4
31# define EAPI __attribute__ ((visibility("default"))) 32# define EAPI __attribute__ ((visibility("default")))
33# define EAPI_WEAK __attribute__ ((weak))
32# else 34# else
33# define EAPI 35# define EAPI
36# define EAPI_WEAK
34# endif 37# endif
35# else 38# else
36# define EAPI 39# define EAPI
40# define EAPI_WEAK
37# endif 41# endif
38#endif 42#endif
39 43