r246: More modifications for MSVC
[ctsim.git] / include / ct.h
index d69eaddcdd8591183a0d8b823a9d5e111d0af8f5..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.38 2000/11/30 22:11:21 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
@@ -53,9 +53,9 @@
 #include <cstdlib>
 using namespace std;
 
+#include <sstream>
 #include <fstream>
 #include <iostream>
-#include <sstream>
 #include <string>
 #include <iterator>
 #include <algorithm>