diff --git a/include/mt_opengl.h b/include/mt_opengl.h index 7b76cd98..3231d860 100755 --- a/include/mt_opengl.h +++ b/include/mt_opengl.h @@ -11,7 +11,7 @@ #include #ifndef APIENTRY - #define APIENTRY + #define APIENTRY KHRONOS_APIENTRY #endif #ifndef APIENTRYP #define APIENTRYP APIENTRY * diff --git a/scripts/BindingGenerator.lua b/scripts/BindingGenerator.lua index ba777489..65d7e371 100755 --- a/scripts/BindingGenerator.lua +++ b/scripts/BindingGenerator.lua @@ -355,7 +355,7 @@ f:write[[ #include #ifndef APIENTRY - #define APIENTRY + #define APIENTRY KHRONOS_APIENTRY #endif #ifndef APIENTRYP #define APIENTRYP APIENTRY *