]> git.saurik.com Git - wxWidgets.git/commitdiff
implement wcsftime for versions of VS earlier than 2005
authorJulian Smart <julian@anthemion.co.uk>
Tue, 31 Oct 2006 15:22:17 +0000 (15:22 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 31 Oct 2006 15:22:17 +0000 (15:22 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/wince/time.cpp

index a21f5f706de9eeca38664f077670095154534fa3..df81a39d8e770e9d39a184b3fd389e51e88b7fcd 100644 (file)
@@ -500,9 +500,9 @@ strftime(char * const s, const size_t maxsize, const char *format, const struct
 extern "C"
 {
 
-/* Not needed in VS Studio 2005, how about earlier versions? */
+/* Not needed in VS Studio 2005 */
 
-#if 0
+#if !(__VISUALC__ >= 1400)
 size_t wcsftime(wchar_t *s,
                 const size_t maxsize,
                 const wchar_t *format,