]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/qdata_heretic2/common/cmdlib.h
Merge commit '515673c08f8718a237e90c2130a1f5294f966d6a'
[xonotic/netradiant.git] / tools / quake2 / qdata_heretic2 / common / cmdlib.h
index edc29d5cbe5cbb35684b6f55cdb64d2ff2db67bb..a6cb14e952df8b1ac43a1bc479b6e270c11b88a7 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (C) 1999-2007 id Software, Inc. and contributors.
+Copyright (C) 1999-2006 Id Software, Inc. and contributors.
 For a list of contributors, see the accompanying CONTRIBUTORS file.
 
 This file is part of GtkRadiant.
@@ -57,7 +57,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   #include "q_typedef.h"
 #endif
 
+#ifdef PATH_MAX
+#define        MAX_OS_PATH             PATH_MAX
+#else
 #define        MAX_OS_PATH             1024
+#endif
 #define MEM_BLOCKSIZE 4096
 /*
 extern qboolean verbose;