r260: MSVC changes
[ctsim.git] / src / ctsim.cpp
index 93a0a7100e5c6034f1a3a7fc855021ac4a305209..d07eb2b3bb5ffd5e0a3a2ca60b64f290bfc133ef 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ctsim.cpp,v 1.14 2000/12/16 03:29:02 kevin Exp $
+**  $Id: ctsim.cpp,v 1.15 2000/12/16 03:39:06 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
 #include "config.h"
 #endif
 #if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG)
-#include "getopt.h"
+#ifdef MSVC\r
+#define __STDC__ 1\r
+#include "getopt.h"\r
+#undef __STDC__\r
+#endif
 #endif
 
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.14 2000/12/16 03:29:02 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.15 2000/12/16 03:39:06 kevin Exp $";
 
 class CTSimApp* theApp = NULL;