]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/common/cmdlib.h
quake2,heretic2: attempt to fix undeclared strupr, <3 Kai
[xonotic/netradiant.git] / tools / quake2 / common / cmdlib.h
index 49f1aeb109037b84a3585bb4559788939ede5db4..3dbf9682f51aedf55271b2a15b927974469b564c 100644 (file)
@@ -77,6 +77,11 @@ void *safe_malloc_info( size_t size, char* info );
 extern int myargc;
 extern char **myargv;
 
+// May be already defined with some compilers on Windows
+#ifndef strupr
+char *strupr (char *start);
+#endif
+
 char *strlower( char *in );
 int Q_strncasecmp( const char *s1, const char *s2, int n );
 int Q_strcasecmp( const char *s1, const char *s2 );