From da61d9a0c9e633fde4744fc1e2c616741e7103b8 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 17 Feb 2011 04:18:36 +0100 Subject: glew: define GLEW_STATIC for MSVC This should hopefully fix linking failures. --- tests/util/glew.h | 2 ++ tests/util/wglew.h | 2 ++ 2 files changed, 4 insertions(+) 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 -- cgit v1.2.3