]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/common/cmdlib.c
quake2,heretic2: attempt to fix undeclared strupr, <3 Kai
[xonotic/netradiant.git] / tools / quake2 / common / cmdlib.c
index 0b65ddaaeff9c6eb1db84dded47725ac49c09c74..fd025691a30f7742773c9834f6bc7b635c5da14c 100644 (file)
@@ -490,7 +490,8 @@ int Q_strcasecmp( const char *s1, const char *s2 ){
        return Q_strncasecmp( s1, s2, 99999 );
 }
 
-#if !GDEF_OS_WINDOWS
+// May be already defined with some compilers on Windows
+#ifndef strupr
 char *strupr (char *start)
 {
        char *in;