From 74b99d0f8ae20f5cfcfc779e342d5565d85c20af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 9 Mar 2005 07:36:34 +0000 Subject: [PATCH] WinCE fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/datetime.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index ebdcb85d75..b211b4ee2d 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -84,7 +84,9 @@ #ifdef __WINDOWS__ #include "wx/msw/wrapwin.h" #include - #include + #ifndef __WXWINCE__ + #include + #endif #endif #include "wx/datetime.h" @@ -357,6 +359,7 @@ static long GetTruncatedJDN(wxDateTime::wxDateTime_t day, - JDN_OFFSET; } +#ifndef __WXWINCE__ // this function is a wrapper around strftime(3) adding error checking static wxString CallStrftime(const wxChar *format, const tm* tm) { @@ -369,6 +372,7 @@ static wxString CallStrftime(const wxChar *format, const tm* tm) return wxString(buf); } +#endif #ifdef HAVE_STRPTIME