From cc53ca51ac6ab6e2955bcb65b58a0e9ceb00946c Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sun, 12 Apr 2009 04:03:18 +0000 Subject: [PATCH] Don't define HAVE_STRFTIME if it is already defined git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_9_0_BRANCH@60103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/datetime.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 323540f813..eaf4ffe7b7 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -141,7 +141,9 @@ extern WXDLLIMPEXP_DATA_BASE(const wxDateTime) wxDefaultDateTime; // everyone has strftime except Win CE unless VC8 is used #if !defined(__WXWINCE__) || defined(__VISUALC8__) - #define HAVE_STRFTIME + #ifndef HAVE_STRFTIME + #define HAVE_STRFTIME + #endif #endif // ----------------------------------------------------------------------------