X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce4169a4d129fc6cd165b2e9ccc5cf5d48356020..6627a4b0497f89221ea9f7848990f8830cf81b7e:/src/common/date.cpp diff --git a/src/common/date.cpp b/src/common/date.cpp index db287ab316..809730cd69 100644 --- a/src/common/date.cpp +++ b/src/common/date.cpp @@ -26,24 +26,16 @@ #pragma hdrstop #endif -#ifndef WX_PRECOMP - #include "wx/defs.h" -#endif - #if wxUSE_TIMEDATE #include "wx/date.h" -#include +#include "wx/intl.h" #include #include #include -#if wxUSE_IOSTREAMH -#include -#else -#include -#endif +#include "wx/ioswrap.h" #include #include @@ -278,6 +270,9 @@ bool WXDLLEXPORT operator != (const wxDate &dt1, const wxDate &dt2) return ( dt1.julian != dt2.julian ); } + +#if wxUSE_STD_IOSTREAM + //////////////////////////////////////////////////////////////// // Ostream operations //////////////////////////////////////////////////////////////// @@ -287,6 +282,8 @@ ostream WXDLLEXPORT & operator << (ostream &os, const wxDate &dt) return os << dt.FormatDate().mb_str(); } +#endif + ////////////////////////////////////////////////////////////// // Conversion routines //////////////////////////////////////////////////////////////