From: Vadim Zeitlin Date: Thu, 4 Aug 2005 00:59:42 +0000 (+0000) Subject: wxNEED_STRDUP was wrong tested with #if instead of #ifdef X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/896e226aa260920835f70f4b2689d92cfc1615e8 wxNEED_STRDUP was wrong tested with #if instead of #ifdef git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index 2e186082a2..94b56cde9e 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -1578,7 +1578,7 @@ WXDLLEXPORT wxChar * wxStrtok(wxChar *psz, const wxChar *delim, wxChar **save_pt // missing C RTL functions // ---------------------------------------------------------------------------- -#if wxNEED_STRDUP +#ifdef wxNEED_STRDUP char *strdup(const char *s) {