]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datstrm.cpp
test for timegm() added
[wxWidgets.git] / src / common / datstrm.cpp
index befc354784a28c74710af7a043b58a6680c7310d..2ea158faae899f365e0605206ad8845927cd86ab 100644 (file)
@@ -214,8 +214,10 @@ void wxDataOutputStream::WriteDouble(double d)
 #if wxUSE_APPLE_IEEE
   ConvertToIeeeExtended(d, (unsigned char *)buf);
 #else
-#  pragma warning "wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!"
- buf[0] = '\0';
+#ifndef __VMS__
+# pragma warning "wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!"
+#endif
+   buf[0] = '\0';
 #endif
   m_output->Write(buf, 10);
 }