summaryrefslogtreecommitdiff
path: root/include/epoxy/gl.h
diff options
context:
space:
mode:
authorYaron Cohen-Tal <yaronct@gmail.com>2015-07-19 12:59:31 +0300
committerYaron Cohen-Tal <yaronct@gmail.com>2015-07-19 13:40:35 +0300
commit90c6158d61a4b27f00997049d67344b425275c5c (patch)
tree65366dd2d858c408b4087cca9470f1551d671240 /include/epoxy/gl.h
parent773dd02f596b3f256bb1c0f65ac091db93a9518b (diff)
downloadlibepoxy-90c6158d61a4b27f00997049d67344b425275c5c.tar.gz
Unite defenitions "PUBLIC" and "EPOXY_IMPORTEXPORT" and add it where appropriate. Fix tests build errors.
Diffstat (limited to 'include/epoxy/gl.h')
-rw-r--r--include/epoxy/gl.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/epoxy/gl.h b/include/epoxy/gl.h
index 0be3a66..d150da4 100644
--- a/include/epoxy/gl.h
+++ b/include/epoxy/gl.h
@@ -30,12 +30,13 @@
#ifndef EPOXY_GL_H
#define EPOXY_GL_H
+#include <epoxy/common.h>
+#include <stdbool.h>
+
#ifdef __cplusplus
extern "C" {
#endif
-#include <stdbool.h>
-
#if defined(__gl_h_) || defined(__glext_h_)
#error epoxy/gl.h must be included before (or in place of) GL/gl.h
#else
@@ -51,7 +52,6 @@ extern "C" {
/* APIENTRY and GLAPIENTRY are not used on Linux or Mac. */
#define APIENTRY
#define GLAPIENTRY
-#define EPOXY_IMPORTEXPORT
#define EPOXY_CALLSPEC
#define GLAPI
#define KHRONOS_APIENTRY
@@ -70,10 +70,6 @@ extern "C" {
#define EPOXY_CALLSPEC __stdcall
#endif
-#ifndef EPOXY_IMPORTEXPORT
-#define EPOXY_IMPORTEXPORT __declspec(dllimport)
-#endif
-
#ifndef GLAPI
#define GLAPI extern
#endif