r199: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sat, 9 Sep 2000 09:31:12 +0000 (09:31 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sat, 9 Sep 2000 09:31:12 +0000 (09:31 +0000)
include/ct.h
libctgraphics/ezplot.cpp

index 0653809af675d855e9fe4744de7b7074216d53b9..f9dd6d815474b569b049db665b252b399486b6ed 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ct.h,v 1.32 2000/09/02 05:10:39 kevin Exp $
+**  $Id: ct.h,v 1.33 2000/09/09 09:31:11 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
@@ -33,8 +33,6 @@
   typedef long off_t;
   #define HAVE_STRING_H 1
   #include <fcntl.h>
-  #define snprintf _snprintf
-  #define vsnprintf _vsnprintf
   #define strcasecmp stricmp
   #define strncasecmp strnicmp
 #endif
index 29f2c7ff0e6d6a2203d9a4072438c72e1b898210..965ef102ed7d32052b6b03f7d10c1da768bea019 100644 (file)
@@ -6,7 +6,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ezplot.cpp,v 1.14 2000/09/04 09:06:46 kevin Exp $
+**  $Id: ezplot.cpp,v 1.15 2000/09/09 09:31:12 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
@@ -25,6 +25,9 @@
 #include "ezplot.h"
 #include <algorithm>
 
+#ifdef __GNUWIN32__
+int snprintf (char *, size_t, const char*, ...);
+#endif
 
 // Defaults
 static const double TICKRATIO = 0.4;   // ratio of minor to major tick lengths