]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datstrm.cpp
test for timegm() added
[wxWidgets.git] / src / common / datstrm.cpp
index 5112d93f6bcd7c1aa04cfd8debe83c2a8f225229..2ea158faae899f365e0605206ad8845927cd86ab 100644 (file)
@@ -161,7 +161,7 @@ wxDataInputStream& wxDataInputStream::operator>>(float& f)
 // ---------------------------------------------------------------------------
 
 wxDataOutputStream::wxDataOutputStream(wxOutputStream& s)
-  : m_output(&s)
+  : m_output(&s), m_be_order(FALSE)
 {
 }
 
@@ -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);
 }