]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
toplevel code transferred to wxTopLevelWindow
[wxWidgets.git] / src / common / utilscmn.cpp
index 517850d9927a6d9e211d920b0b5864d8df5bd31b..a5e42a0eb1048b756a77ccd791b3b80cd32f924d 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)
 {
@@ -742,7 +747,7 @@ whereami(name)
 
         t = imagedir;
         if (!absolute_pathname(name)) {
-#if defined(DOS) || defined(__WIN32__)
+#if defined(__DOS__) || defined(__WIN32__)
             int   drive;
             char *newrbuf;