]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datstrm.cpp
Changed name of controls sample.
[wxWidgets.git] / src / common / datstrm.cpp
index be174c1b4819605aad5d577b449737ef48293cc2..17f2100ebe1516aceeeb5960f46d757ec19c8e6b 100644 (file)
@@ -204,6 +204,11 @@ void wxDataStream::WriteDouble(double d)
   if (!m_ostream)
     return;
 
+#if USE_APPLE_IEEE
   ConvertToIeeeExtended(d, (unsigned char *)buf);
+#else
+#      pragma warning "wxDataStream::WriteDouble() not using IeeeExtended - will not work!"
+ buf[0] = '\0';
+#endif
   m_ostream->write(buf, 10);
 }