summaryrefslogtreecommitdiff
path: root/src/lib/ecore_file
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2018-01-18 18:04:03 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2018-01-18 18:04:03 +0900
commitf5b01ac5ce3d86c3bcd89c4882a77b1c126ca789 (patch)
treecb39aad3598224652d3117f64328d596678ffdc6 /src/lib/ecore_file
parent8a1655a15cb3863165a7dddaa6021953ce9c18ab (diff)
all: Simplify definition of EAPI
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
Diffstat (limited to 'src/lib/ecore_file')
-rw-r--r--src/lib/ecore_file/Ecore_File.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore_file/Ecore_File.h b/src/lib/ecore_file/Ecore_File.h
index 57cb550e30..39f0f7ecae 100644
--- a/src/lib/ecore_file/Ecore_File.h
+++ b/src/lib/ecore_file/Ecore_File.h
@@ -13,15 +13,15 @@
13#endif 13#endif
14 14
15#ifdef _WIN32 15#ifdef _WIN32
16# ifdef EFL_ECORE_FILE_BUILD 16# ifdef EFL_BUILD
17# ifdef DLL_EXPORT 17# ifdef DLL_EXPORT
18# define EAPI __declspec(dllexport) 18# define EAPI __declspec(dllexport)
19# else 19# else
20# define EAPI 20# define EAPI
21# endif /* ! DLL_EXPORT */ 21# endif
22# else 22# else
23# define EAPI __declspec(dllimport) 23# define EAPI __declspec(dllimport)
24# endif /* ! EFL_ECORE_FILE_BUILD */ 24# endif
25#else 25#else
26# ifdef __GNUC__ 26# ifdef __GNUC__
27# if __GNUC__ >= 4 27# if __GNUC__ >= 4
@@ -32,7 +32,7 @@
32# else 32# else
33# define EAPI 33# define EAPI
34# endif 34# endif
35#endif /* ! _WIN32 */ 35#endif
36 36
37/** 37/**
38 * @file Ecore_File.h 38 * @file Ecore_File.h