]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datstrm.cpp
Fix a number of mingw compile errors.
[wxWidgets.git] / src / common / datstrm.cpp
index e480fef05e4f24804caddadfe1f56a749b56d136..607c542647064d4983d1faff61b3501d4c2ed842 100644 (file)
@@ -551,7 +551,11 @@ void wxDataOutputStream::WriteDouble(double d)
 #else
   wxUnusedVar(d);
 #if !defined(__VMS__) && !defined(__GNUG__)
 #else
   wxUnusedVar(d);
 #if !defined(__VMS__) && !defined(__GNUG__)
+#ifdef _MSC_VER
+# pragma message("wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!")
+#else
 # pragma warning "wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!"
 # pragma warning "wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!"
+#endif
 #endif
    buf[0] = '\0';
 #endif
 #endif
    buf[0] = '\0';
 #endif