Skip to content

Commit 4229d06

Browse files
authored
Merge pull request #360 from neheb/patch-1
fix compilation with clang-cl
2 parents 37f47e6 + 3141ba8 commit 4229d06

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • source/glbinding/include/glbinding/gl

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)