X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ff14117cbfd017d73508f51b27495ee7e9189f3..270a909e20a2c652fd816ad14407113ad0319c9d:/src/common/datstrm.cpp diff --git a/src/common/datstrm.cpp b/src/common/datstrm.cpp index befc354784..2ea158faae 100644 --- a/src/common/datstrm.cpp +++ b/src/common/datstrm.cpp @@ -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); }