]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/common/cmdlib.h
Merge branch 'master' into divVerent/farplanedist-sky-fix
[xonotic/netradiant.git] / tools / quake2 / common / cmdlib.h
index 6cc5fade769cec8f5eaf8dcf0c16aa008a169f2f..2955d53f2a966aaa962cb9be569240b89c5b1328 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.
@@ -50,7 +50,11 @@ typedef enum {false, true} qboolean;
 typedef unsigned char byte;
 #endif
 
+#ifdef PATH_MAX
+#define MAX_OS_PATH     PATH_MAX
+#else
 #define MAX_OS_PATH     1024
+#endif
 #define MEM_BLOCKSIZE 4096
 
 /*