summaryrefslogtreecommitdiff
path: root/src/mgl.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-23 21:28:42 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-23 22:50:35 +0300
commit8a4f26c670cdcf5bf0d4e58d2571e18b33085c5a (patch)
tree135e604b5ff9dffd4ebf4227e9a11c0a3347fa7a /src/mgl.h
parent5adc6140d3da7d1e0e7cffe6922a2ac506d731f0 (diff)
downloadplus-8a4f26c670cdcf5bf0d4e58d2571e18b33085c5a.tar.gz
plus-8a4f26c670cdcf5bf0d4e58d2571e18b33085c5a.tar.bz2
plus-8a4f26c670cdcf5bf0d4e58d2571e18b33085c5a.tar.xz
plus-8a4f26c670cdcf5bf0d4e58d2571e18b33085c5a.zip
Fix for windows compilation.
Diffstat (limited to 'src/mgl.h')
-rw-r--r--src/mgl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mgl.h b/src/mgl.h
index 6f10078a0..f1686a2ba 100644
--- a/src/mgl.h
+++ b/src/mgl.h
@@ -126,6 +126,8 @@ defNameE(glDebugMessageCallback);
typedef const char* (APIENTRY * wglGetExtensionsString_t) (HDC hdc);
defNameE(wglGetExtensionsString);
+#else
+#define CALLBACK
#endif
#endif