18f1ca848c
applications which depends on both of them. - Bumped PORTREVISION. PR: ports/91944 Submitted by: maintainer
13 lines
362 B
C
13 lines
362 B
C
--- include/GL/glew.h.orig
|
|
+++ include/GL/glew.h
|
|
@@ -9647,7 +9647,9 @@
|
|
#ifdef GLEW_APIENTRY_DEFINED
|
|
#undef GLEW_APIENTRY_DEFINED
|
|
#undef APIENTRY
|
|
-#undef GLAPIENTRY
|
|
+/* Do not undef GLAPIENTRY here. This is a quick hack to avoid
|
|
+ undefined symbols when including glut.h just after glew.h */
|
|
+/* #undef GLAPIENTRY */
|
|
#endif
|
|
|
|
#ifdef GLEW_CALLBACK_DEFINED
|