@@ -20,8 +20,12 @@
#include "gl-subsystem.h"
/* Goofy Windows.h macros need to be removed */
-#undef far
+#ifdef near
#undef near
+#endif
+#ifdef far
+#undef far
/* #define SHOW_ALL_GL_MESSAGES */
@@ -28,8 +28,10 @@
#include "effect-parser.h"
#include "effect.h"
-#ifdef _MSC_VER
#undef far
#endif