summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gl_context/glew.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gl_context/glew.c b/drivers/gl_context/glew.c
index e38942de4f..962e82b657 100644
--- a/drivers/gl_context/glew.c
+++ b/drivers/gl_context/glew.c
@@ -1,4 +1,8 @@
-#ifndef GLEW_ENABLED
+#ifdef __HAIKU__
+ #undef GLEW_ENABLED
+#endif
+
+#ifdef GLEW_ENABLED
/*
** The OpenGL Extension Wrangler Library
** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>