r248: msvc changes
[ctsim.git] / include / array2dfile.h
index 1c40c05b95b6a1f60558520d0d677c049b1ddce4..512772d3111418239702bdd59e8ece22dcb623a5 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: array2dfile.h,v 1.6 2000/12/04 03:04:06 kevin Exp $
+**  $Id: array2dfile.h,v 1.9 2000/12/06 15:17:51 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
 #ifndef ARRAY2DFILE_H
 #define ARRAY2DFILE_H
 
-#ifndef WIN32
+#ifndef MSVC
 #include <unistd.h>
 #endif
 
 #include <sys/types.h>
-#include <string.h>
+#include <cstring>
 #include <string>
 #include <fstream>
 #include <iostream>
@@ -188,7 +188,7 @@ public:
  protected:
   typedef vector<Array2dFileLabel*> labelContainer;
 
-  static const kuint16 m_signature = ('I'*256+'F');
+  static const kuint16 m_signature;
   kuint16 m_headersize;
   string  m_filename;