#if wxUSE_STREAMS
#include "wx/datstrm.h"
-#include "wx/math.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/math.h"
+#endif //WX_PRECOMP
// ---------------------------------------------------------------------------
// wxDataInputStream
char buf[10];
m_input->Read(buf, 10);
- return ConvertFromIeeeExtended((const wxInt8 *)buf);
+ return wxConvertFromIeeeExtended((const wxInt8 *)buf);
#else
return 0.0;
#endif
char buf[10];
#if wxUSE_APPLE_IEEE
- ConvertToIeeeExtended(d, (wxInt8 *)buf);
+ wxConvertToIeeeExtended(d, (wxInt8 *)buf);
#else
#if !defined(__VMS__) && !defined(__GNUG__)
# pragma warning "wxDataOutputStream::WriteDouble() not using IeeeExtended - will not work!"
}
}
-wxDataOutputStream& wxDataOutputStream::operator<<(const wxChar *string)
-{
- Write32(wxStrlen(string));
- m_output->Write((const char *)string, wxStrlen(string)*sizeof(wxChar));
- return *this;
-}
-
wxDataOutputStream& wxDataOutputStream::operator<<(const wxString& string)
{
WriteString(string);