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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user