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:
parent
8c46af496a
commit
0e338ff9a3
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue