Skip to content

Commit

Permalink
glew: Define NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Wilson committed Jun 15, 2010
1 parent 56d06b0 commit 5262444
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/glew/glew.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 <mach-o/dyld.h>
#include <stdlib.h>
Expand Down

0 comments on commit 5262444

Please sign in to comment.