summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/util/glew.h2
-rw-r--r--tests/util/wglew.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/util/glew.h b/tests/util/glew.h
index bea95873f..aec7edec4 100644
--- a/tests/util/glew.h
+++ b/tests/util/glew.h
@@ -80,6 +80,8 @@
#define __glew_h__
#define __GLEW_H__
+#define GLEW_STATIC
+
#if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H)
#error gl.h included before glew.h
#endif
diff --git a/tests/util/wglew.h b/tests/util/wglew.h
index 39d4a61e3..611cfe0eb 100644
--- a/tests/util/wglew.h
+++ b/tests/util/wglew.h
@@ -56,6 +56,8 @@
#define __wglew_h__
#define __WGLEW_H__
+#define GLEW_STATIC
+
#ifdef __wglext_h_
#error wglext.h included before wglew.h
#endif