more path lengths

git-svn-id: svn://svn.icculus.org/netradiant/trunk@126 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
rpolzer 2008-11-07 15:54:07 +00:00
parent d870b21a3a
commit c39d650046
5 changed files with 18 additions and 0 deletions

View File

@ -79,7 +79,9 @@ extern idCameraDef camera[MAX_CAMERAS];
extern "C" qboolean loadCamera(int camNum, const char *name);
#ifndef PATH_MAX
#define PATH_MAX 260
#endif
//
// CCamera

View File

@ -52,7 +52,11 @@ public:
bool Build(char *def);
};
#ifdef PATH_MAX
#define PRTVIEW_PATH_MAX PATH_MAX
#else
#define PRTVIEW_PATH_MAX 260
#endif
typedef guint32 PackedColour;
#define RGB(r, g, b) ((guint32)(((guint8) (r) | ((guint16) (g) << 8))|(((guint32) (guint8) (b)) << 16)))
#define GetRValue(rgb) ((guint8)(rgb))

View File

@ -254,7 +254,11 @@ typedef enum {
#define MAX_QPATH 64 // max length of a quake game pathname
#ifdef PATH_MAX
#define MAX_OSPATH PATH_MAX // max length of a filesystem pathname
#else
#define MAX_OSPATH 128 // max length of a filesystem pathname
#endif
#define MAX_NAME_LENGTH 32 // max length of a client name

View File

@ -50,7 +50,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
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
/*

View File

@ -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;