]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Changed floats to doubles
[wxWidgets.git] / src / common / utilscmn.cpp
index 349d6f04a0755b47f164a4e6b9c80324b2d326ee..3fd650a0d2293608788134c872a8ea354d7cb4ac 100644 (file)
@@ -56,7 +56,7 @@
 #include "../common/glob.inc"
 #endif
 
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
 #include "windows.h"
 #endif
 
@@ -134,7 +134,7 @@ extern "C"
   int strncasecmp (const char *, const char *, size_t);
 }
 #endif
-#endif                         /* __WINDOWS__ */
+#endif                         /* __WXMSW__ */
 
 
 char *
@@ -519,7 +519,7 @@ int wxDebugStreamBuf::overflow(int WXUNUSED(i))
   char *txt = new char[len+1];
   strncpy(txt, pbase(), len);
   txt[len] = '\0';
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
   OutputDebugString((LPCSTR)txt);
 #else
   fprintf(stderr, txt);
@@ -535,7 +535,7 @@ int wxDebugStreamBuf::sync(void)
   char *txt = new char[len+1];
   strncpy(txt, pbase(), len);
   txt[len] = '\0';
-#ifdef __WINDOWS__
+#ifdef __WXMSW__
   OutputDebugString((LPCSTR)txt);
 #else
   fprintf(stderr, txt);