X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce4169a4d129fc6cd165b2e9ccc5cf5d48356020..d1af991f497a5e95d8f8ab15a4e4a4a4c375928f:/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 //////////////////////////////////////////////////////////////