浏览代码

Improved Win32 support.

woollybah 11 年之前
父节点
当前提交
6a9e6cafa3
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      opengl.mod/GL/glu.h

+ 5 - 0
opengl.mod/GL/glu.h

@@ -35,7 +35,12 @@
 #endif
 #endif
 
 
 #include <stddef.h> /* for wchar_t */
 #include <stddef.h> /* for wchar_t */
+#ifdef _WIN32
+/* on Windows, use our local version */
+#include "../GL/gl.h"
+#else
 #include <GL/gl.h>
 #include <GL/gl.h>
+#endif
 
 
 #ifdef __cplusplus
 #ifdef __cplusplus
 extern "C" {
 extern "C" {