From a6466e7d2f6043fa4b3fac73be523faffba47ea5 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 30 Apr 2004 08:44:59 +0000 Subject: [PATCH] MSVC fix. --- src/Main/fg_os.cxx | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5