X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=blobdiff_plain;f=tools%2Fquake3%2Fcommon%2Fcmdlib.h;h=701b30164c1ac840311dafd81873e7d6606a0191;hp=e8d6326f7932f34b2d85df05f2b69fc3febfee01;hb=7fc621fc78d0e040dc2c12f38dc53dd9048215dc;hpb=9b5ba1fe10d7eba4db1588c2a4926829c465dc76 diff --git a/tools/quake3/common/cmdlib.h b/tools/quake3/common/cmdlib.h index e8d6326f..701b3016 100644 --- a/tools/quake3/common/cmdlib.h +++ b/tools/quake3/common/cmdlib.h @@ -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. @@ -53,7 +53,11 @@ #endif +#ifdef PATH_MAX +#define MAX_OS_PATH PATH_MAX +#else #define MAX_OS_PATH 4096 +#endif #define MEM_BLOCKSIZE 4096 // the dec offsetof macro doesnt work very well... @@ -93,7 +97,11 @@ void ExpandWildcards( int *argc, char ***argv ); double I_FloatTime( void ); -void Error( const char *error, ... ); +void Error( const char *error, ... ) +#ifdef __GNUC__ +__attribute__( ( noreturn ) ) +#endif +; int CheckParm( const char *check ); FILE *SafeOpenWrite( const char *filename );