X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89a7e1ff98e58687eef2bf8ec94bf7190208167f..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/datetime.h diff --git a/include/wx/datetime.h b/include/wx/datetime.h index 323540f813..351ced98ea 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -139,9 +139,12 @@ extern WXDLLIMPEXP_DATA_BASE(const wxDateTime) wxDefaultDateTime; // conditional compilation // ---------------------------------------------------------------------------- -// everyone has strftime except Win CE unless VC8 is used -#if !defined(__WXWINCE__) || defined(__VISUALC8__) - #define HAVE_STRFTIME +// if configure detected strftime(), we have it too +#ifdef HAVE_STRFTIME + #define wxHAS_STRFTIME +// suppose everyone else has strftime except Win CE unless VC8 is used +#elif !defined(__WXWINCE__) || defined(__VISUALC8__) + #define wxHAS_STRFTIME #endif // ----------------------------------------------------------------------------