r246: More modifications for MSVC
[ctsim.git] / include / sgp.h
index fce79a67509b650629d45c3d1ad8cd6e4cdb0aac..f30f582e3df2762114744de2b698a86ca596c29d 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: sgp.h,v 1.18 2000/09/04 09:06:46 kevin Exp $
+**  $Id: sgp.h,v 1.20 2000/12/06 01:46:43 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
@@ -47,7 +47,7 @@ extern "C" {
 #endif
 
 #include <string>
-
+using namespace std;
 
 class SGPDriver {
 private:
@@ -171,7 +171,7 @@ public:
       MARK_BSQUARE = 9,        // big open square 
       MARK_BDIAMOND = 10,      // big open diamond 
   };
-  static const int MARK_COUNT = 11;
+  enum  { MARK_COUNT = 11, };
   static const unsigned char MARKER_BITMAP[MARK_COUNT][5];
 
   SGP (const SGPDriver& driver);