summaryrefslogtreecommitdiff
path: root/src/lib/evas/Evas_GL.h
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 14:24:11 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:10 +0200
commit71b7fc982a2e23bcb41bf6d227bceeba1f5596ec (patch)
tree4a6b8a01e76fec5797ff183ea556c229cfdc520d /src/lib/evas/Evas_GL.h
parent7b52ecc9b9ae2f37d8771060e12f1d1f1e165265 (diff)
evas: remove the need to order the header correctly for Windows.
Diffstat (limited to 'src/lib/evas/Evas_GL.h')
-rw-r--r--src/lib/evas/Evas_GL.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/lib/evas/Evas_GL.h b/src/lib/evas/Evas_GL.h
index 5a7efef220..255ccfccec 100644
--- a/src/lib/evas/Evas_GL.h
+++ b/src/lib/evas/Evas_GL.h
@@ -4,6 +4,32 @@
4#include <Evas.h> 4#include <Evas.h>
5//#include <GL/gl.h> 5//#include <GL/gl.h>
6 6
7#ifdef EAPI
8# undef EAPI
9#endif
10
11#ifdef _WIN32
12# ifdef EFL_EVAS_BUILD
13# ifdef DLL_EXPORT
14# define EAPI __declspec(dllexport)
15# else
16# define EAPI
17# endif /* ! DLL_EXPORT */
18# else
19# define EAPI __declspec(dllimport)
20# endif /* ! EFL_EVAS_BUILD */
21#else
22# ifdef __GNUC__
23# if __GNUC__ >= 4
24# define EAPI __attribute__ ((visibility("default")))
25# else
26# define EAPI
27# endif
28# else
29# define EAPI
30# endif
31#endif /* ! _WIN32 */
32
7#ifdef __cplusplus 33#ifdef __cplusplus
8extern "C" { 34extern "C" {
9#endif 35#endif
@@ -4616,6 +4642,9 @@ EvasGLImage *img = glapi->evasglCreateImageForContext
4616} 4642}
4617#endif 4643#endif
4618 4644
4645#undef EAPI
4646#define EAPI
4647
4619#endif 4648#endif
4620/** 4649/**
4621 * @} 4650 * @}