diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-02-17 04:18:36 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-02-17 04:40:08 +0100 |
commit | da61d9a0c9e633fde4744fc1e2c616741e7103b8 (patch) | |
tree | 7386801cb6787f5c743ecf25a1346f5cbe23c243 | |
parent | 52a51e49f734711ca595f832f1d20f8fb238bcfd (diff) |
glew: define GLEW_STATIC for MSVC
This should hopefully fix linking failures.
-rw-r--r-- | tests/util/glew.h | 2 | ||||
-rw-r--r-- | tests/util/wglew.h | 2 |
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 |