diff options
Diffstat (limited to 'include/epoxy/gl.h')
-rw-r--r-- | include/epoxy/gl.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/epoxy/gl.h b/include/epoxy/gl.h index 76634e3..bbc06c0 100644 --- a/include/epoxy/gl.h +++ b/include/epoxy/gl.h @@ -51,7 +51,8 @@ extern "C" { /* APIENTRY and GLAPIENTRY are not used on Linux or Mac. */ #define APIENTRY #define GLAPIENTRY -#define EPOXYAPIENTRY +#define EPOXY_IMPORTEXPORT +#define EPOXY_CALLSPEC #define GLAPI #define KHRONOS_APIENTRY #define KHRONOS_APICALL @@ -65,8 +66,12 @@ extern "C" { #define GLAPIENTRY APIENTRY #endif -#ifndef EPOXYAPIENTRY -#define EPOXYAPIENTRY __declspec(dllimport) __stdcall +#ifndef EPOXY_CALLSPEC +#define EPOXY_CALLSPEC __stdcall +#endif + +#ifndef EPOXY_IMPORTEXPORT +#define EPOXY_IMPORTEXPORT __declspec(dllimport) #endif #ifndef GLAPI |