Skip to content

Commit

Permalink
Fixed|X11: Undefined conflicting Xlib preprocessor symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 24, 2015
1 parent 6212ffb commit 53fe599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/apps/client/src/gl/sys_opengl.cpp
Expand Up @@ -34,6 +34,7 @@
# define GETPROC(Type, x) x = de::function_cast<Type>(wglGetProcAddress(#x))
#elif defined(UNIX) && !defined(MACOSX)
# include <GL/glx.h>
# undef None
# define GETPROC(Type, x) x = de::function_cast<Type>(glXGetProcAddress((GLubyte const *)#x))
#endif

Expand Down

0 comments on commit 53fe599

Please sign in to comment.