X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fctsim.cpp;h=d07eb2b3bb5ffd5e0a3a2ca60b64f290bfc133ef;hp=93a0a7100e5c6034f1a3a7fc855021ac4a305209;hb=1b16aa3f50af7b0c9749c077d9785d7d71928183;hpb=484b9ac2ebf8f88dbe36bdc1d3a9c1b6a2b242eb diff --git a/src/ctsim.cpp b/src/ctsim.cpp index 93a0a71..d07eb2b 100644 --- a/src/ctsim.cpp +++ b/src/ctsim.cpp @@ -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 @@ -50,10 +50,14 @@ #include "config.h" #endif #if defined(HAVE_GETOPT_H) || defined(HAVE_GETOPT_LONG) -#include "getopt.h" +#ifdef MSVC +#define __STDC__ 1 +#include "getopt.h" +#undef __STDC__ +#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;