Fixed broken Ieee extension for configure --without-apple_ieee

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder
1998-07-07 10:43:26 +00:00
parent 8c46af496a
commit 0e338ff9a3

View 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);
}