r246: More modifications for MSVC
[ctsim.git] / include / ct.h
index cfdd9dcf558bae1f0b9606b9550a55d8cb0bf4ee..0928b91f8807dcc25d3cb986ba13e68248f2bf21 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ct.h,v 1.37 2000/11/29 07:58:13 kevin Exp $
+**  $Id: ct.h,v 1.41 2000/12/04 05:36:57 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
@@ -28,7 +28,7 @@
 #ifndef CT_H
 #define CT_H
 
-#ifdef _WIN32
+#ifdef MSVC
   extern "C" {int strcasecmp(const char*, const char*);}
   typedef long off_t;
   #define HAVE_STRING_H 1
@@ -43,6 +43,7 @@
 
 #define HAVE_ANSI_CPP 1
 #ifdef HAVE_ANSI_CPP
+#include <complex>
 #include <cmath>
 #include <cstdio>
 #include <cctype>
 #include <cstdlib>
 using namespace std;
 
-#include <complex>
+#include <sstream>
 #include <fstream>
 #include <iostream>
-#include <sstream>
 #include <string>
 #include <iterator>
 #include <algorithm>