]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/extra/common/cmdlib.h
quake2,heretic2: attempt to fix undeclared strupr, <3 Kai
[xonotic/netradiant.git] / tools / quake2 / extra / common / cmdlib.h
index 0821ce512f517de8b02ef2d56584fa7679a5e20b..afbeb348e72345f5e7734fd983099fe15c41516c 100644 (file)
@@ -56,8 +56,12 @@ typedef unsigned char byte;
 extern int myargc;
 extern char **myargv;
 
-char *strupr (char *in);
-char *strlower (char *in);
+// May be already defined with some compilers on Windows
+#ifndef strupr
+char *strupr (char *start);
+#endif
+
+char *strlower (char *start);
 int Q_strncasecmp (char *s1, char *s2, int n);
 int Q_strcasecmp (char *s1, char *s2);
 void Q_getwd (char *out);