Merge https://github.com/nigels-com/glew.git into master HEAD at Thu Mar 16 00:01:33 GMT 2023

This commit is contained in:
Gyusun 2023-03-16 00:01:33 +00:00
commit 675b56a057
2 changed files with 5 additions and 2 deletions

3
.gitignore vendored
View File

@ -20,3 +20,6 @@
/tmp /tmp
/out /out
.DS_Store* .DS_Store*
auto/EGL-Registry
auto/OpenGL-Registry
auto/glfixes

View File

@ -70,7 +70,7 @@ void* dlGetProcAddress (const GLubyte* name)
#include <string.h> #include <string.h>
#include <AvailabilityMacros.h> #include <AvailabilityMacros.h>
#ifdef MAC_OS_X_VERSION_10_3 #if defined(MAC_OS_X_VERSION_10_3) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3
#include <dlfcn.h> #include <dlfcn.h>
@ -120,7 +120,7 @@ void* NSGLGetProcAddress (const GLubyte *name)
return NULL; return NULL;
#endif #endif
} }
#endif /* MAC_OS_X_VERSION_10_3 */ #endif /* defined(MAC_OS_X_VERSION_10_3) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 */
#endif /* __APPLE__ */ #endif /* __APPLE__ */
/* /*