]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for Watcom/DOS
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Dec 2001 22:42:04 +0000 (22:42 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 7 Dec 2001 22:42:04 +0000 (22:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/utilscmn.cpp

index 517850d9927a6d9e211d920b0b5864d8df5bd31b..b0e76aeeee9d15df54ec0a1592b9573bb2944984 100644 (file)
@@ -217,6 +217,11 @@ extern "C"
 #define strncasecmp strnicmp
 #endif
 
+#ifdef __WATCOMC__
+#define strcasecmp stricmp
+#define strncasecmp strnicmp
+#endif
+
 wxChar *
 copystring (const wxChar *s)
 {