From 52624446636bb5941ca2180afa2c0be275414cec Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 15 Jun 2010 10:40:36 +0100 Subject: glew: Define NULL --- src/glew/glew.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/glew/glew.c b/src/glew/glew.c index 6ef6d229..9b860032 100644 --- a/src/glew/glew.c +++ b/src/glew/glew.c @@ -65,6 +65,10 @@ # define GLXEW_CONTEXT_ARG_DEF_LIST void #endif /* GLEW_MX */ +#ifndef NULL +#define NULL (void *) 0 +#endif + #if defined(__APPLE__) #include #include -- cgit v1.2.3