]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE does support strftime() now, no need to #ifdef it out
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Jun 2005 22:44:51 +0000 (22:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Jun 2005 22:44:51 +0000 (22:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/logg.cpp

index 9fcf418e69d4620bad79e1416712499d1d5a71ee..7d0a8ca6d359fb11707f117ba44abe265d99b868 100644 (file)
 // allows to exclude the usage of wxDateTime
 static wxString TimeStamp(const wxChar *format, time_t t)
 {
-#ifdef __WXWINCE__
-    // FIXME
-    return wxEmptyString;
-#else
     wxChar buf[4096];
     if ( !wxStrftime(buf, WXSIZEOF(buf), format, localtime(&t)) )
     {
@@ -99,7 +95,6 @@ static wxString TimeStamp(const wxChar *format, time_t t)
         wxFAIL_MSG(_T("strftime() failed"));
     }
     return wxString(buf);
-#endif
 }