X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4ada568223b79c8a5769cc351c36a8e2ccd7841..ff528365c8fdff9af65d3121d9f0954bf216b82f:/src/common/datstrm.cpp diff --git a/src/common/datstrm.cpp b/src/common/datstrm.cpp index 8056bdaded..d455a6dc4e 100644 --- a/src/common/datstrm.cpp +++ b/src/common/datstrm.cpp @@ -74,7 +74,7 @@ extern "C" double ConvertFromIeeeExtended(const unsigned char *bytes); double wxDataInputStream::ReadDouble() { -#if USE_APPLE_IEEE +#if wxUSE_APPLE_IEEE char buf[10]; Read(buf, 10); @@ -192,7 +192,7 @@ void wxDataOutputStream::WriteDouble(double d) { char buf[10]; -#if USE_APPLE_IEEE +#if wxUSE_APPLE_IEEE ConvertToIeeeExtended(d, (unsigned char *)buf); #else # pragma warning "wxDataStream::WriteDouble() not using IeeeExtended - will not work!" @@ -200,12 +200,3 @@ void wxDataOutputStream::WriteDouble(double d) #endif Write(buf, 10); } - -// --------------------------------------------------------------------------- -// wxDataStream -// --------------------------------------------------------------------------- - -wxDataStream::wxDataStream(wxStream& stream) - : wxDataInputStream(stream), wxDataOutputStream(stream) -{ -}