]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/common/cmdlib.c
tools/quake2: use same strupr other tools use
[xonotic/netradiant.git] / tools / quake2 / common / cmdlib.c
index 506d7a2f16f16c5c6300ac34de5458bab004808a..0b65ddaaeff9c6eb1db84dded47725ac49c09c74 100644 (file)
@@ -490,23 +490,19 @@ int Q_strcasecmp( const char *s1, const char *s2 ){
        return Q_strncasecmp( s1, s2, 99999 );
 }
 
-
-// NOTE TTimo when switching to Multithread DLL (Release/Debug) in the config
-//   started getting warnings about that function, prolly a duplicate with the runtime function
-//   maybe we still need to have it in linux builds
-/*
-   char *strupr (char *start)
-   {
-    char       *in;
-    in = start;
-    while (*in)
-    {
-   *in = toupper(*in);
-        in++;
-    }
-    return start;
-   }
- */
+#if !GDEF_OS_WINDOWS
+char *strupr (char *start)
+{
+       char *in;
+       in = start;
+       while (*in)
+       {
+               *in = toupper(*in);
+               in++;
+       }
+       return start;
+}
+#endif
 
 char *strlower( char *start ){
        char    *in;