X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgl.h;h=69b9b130adb8f537d93a1ed32c5a7655974dcec3;hb=8dd40d3723cb2309ffcca5e041898a767cd7cdea;hp=d558706cb1e000858b6e9006e83200679b25c308;hpb=51c775a5df70fe5a538c3e4bcccd3ab857ba5b59;p=libs%2Fgl.git diff --git a/source/gl.h b/source/gl.h index d558706c..69b9b130 100644 --- a/source/gl.h +++ b/source/gl.h @@ -13,9 +13,25 @@ #include #include typedef double GLdouble; +typedef long long GLint64; #else -#ifdef WIN32 -#include +#ifdef _WIN32 +#ifndef WINAPI +#if defined(_ARM_) +#define WINAPI +#else +#define WINAPI __stdcall +#endif +#endif +#ifndef APIENTRY +#define APIENTRY WINAPI +#endif +#ifndef DECLSPEC_IMPORT +#define DECLSPEC_IMPORT __declspec(dllimport) +#endif +#ifndef WINGDIAPI +#define WINGDIAPI DECLSPEC_IMPORT +#endif #endif #include #include