]> git.saurik.com Git - wxWidgets.git/commitdiff
warning fix for cygwin (patch 539654)
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Apr 2002 10:43:33 +0000 (10:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 5 Apr 2002 10:43:33 +0000 (10:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/wxchar.h

index 2793ea14b5b46eb3c44a9d3a38685d57a43aa083..67092b9bf4c64c576d26bc81ccce930992d08a51 100644 (file)
@@ -69,7 +69,9 @@
         #include <string.h>
         #include <ctype.h>
     #elif defined(__CYGWIN__)
-        #define HAVE_WCSLEN
+        #ifndef HAVE_WCSLEN
+            #define HAVE_WCSLEN
+        #endif // !HAVE_WCSLEN
         #include <stddef.h>
         #include <wchar.h>
     #endif