From: ehofman Date: Fri, 30 Apr 2004 08:44:59 +0000 (+0000) Subject: MSVC fix. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a6466e7d2f6043fa4b3fac73be523faffba47ea5;p=flightgear.git MSVC fix. --- diff --git a/src/Main/fg_os.cxx b/src/Main/fg_os.cxx index 57f5cbc4b..fc404a00f 100644 --- a/src/Main/fg_os.cxx +++ b/src/Main/fg_os.cxx @@ -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 # include FG_GLUT_H