Skip to content

Commit 3141ba8

Browse files
committed
fix compilation with clang-cl
__stdcall is supported by MinGW as well.
1 parent 69e75ea commit 3141ba8

File tree

1 file changed

+3
-3
lines changed
  • source/glbinding/include/glbinding/gl

1 file changed

+3
-3
lines changed

source/glbinding/include/glbinding/gl/types.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#include <KHR/khrplatform.h>
1111

1212

13-
#ifdef _MSC_VER
14-
#define GL_APIENTRY __stdcall
13+
#ifdef WINAPI
14+
#define GL_APIENTRY WINAPI
1515
#else
1616
#define GL_APIENTRY
1717
#endif
@@ -99,4 +99,4 @@ struct _cl_event;
9999
} // namespace gl
100100

101101

102-
#include <glbinding/gl/types.inl>
102+
#include <glbinding/gl/types.inl>

0 commit comments

Comments
 (0)