]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_os.cxx
Boris Koenig:
[flightgear.git] / src / Main / fg_os.cxx
index 57f5cbc4b069963d60edf26bc6b3f33c9cd5e62c..fc404a00fabf5b755a1515132ba021009c12510e 100644 (file)
@@ -1,7 +1,9 @@
 // The mac puts this in a weird location (GLUT/glut.h), so the
 // configure script detects the location and defines it as a macro.
+#ifndef _MSC_VER // MSVC really needs a definition for wchar_t
 #define _WCHAR_T_DEFINED 1 // Glut needs this, or else it tries to
                            // redefine it
+#endif
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #  include FG_GLUT_H