diff --git a/include/mt_opengl.h b/include/mt_opengl.h index 7b76cd982..3231d8601 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 ba7774894..65d7e3716 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 *