Commit da61d9a0 authored by Marek Olšák's avatar Marek Olšák

glew: define GLEW_STATIC for MSVC

This should hopefully fix linking failures.
parent 52a51e49
......@@ -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
......
......@@ -56,6 +56,8 @@
#define __wglew_h__
#define __WGLEW_H__
#define GLEW_STATIC
#ifdef __wglext_h_
#error wglext.h included before wglew.h
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment