]> git.saurik.com Git - wxWidgets.git/commitdiff
wxNEED_STRDUP was wrong tested with #if instead of #ifdef
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2005 00:59:42 +0000 (00:59 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 4 Aug 2005 00:59:42 +0000 (00:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wxchar.cpp

index 2e186082a20c690a6d2141aacfd92b55ef31b3a6..94b56cde9e2248055d475505a5a8df0964f65196 100644 (file)
@@ -1578,7 +1578,7 @@ WXDLLEXPORT wxChar * wxStrtok(wxChar *psz, const wxChar *delim, wxChar **save_pt
 // missing C RTL functions
 // ----------------------------------------------------------------------------
 
 // missing C RTL functions
 // ----------------------------------------------------------------------------
 
-#if wxNEED_STRDUP
+#ifdef wxNEED_STRDUP
 
 char *strdup(const char *s)
 {
 
 char *strdup(const char *s)
 {