Skip to content

Commit ce86184

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

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

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

1212

13-
#ifdef _MSC_VER
13+
#ifdef _WIN32
1414
#define GL_APIENTRY __stdcall
1515
#else
1616
#define GL_APIENTRY
@@ -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)