* ...and the other common headers

This commit is contained in:
Tim Angus 2005-10-27 22:05:38 +00:00
parent bc9ee5644b
commit 556b3307c5
3 changed files with 16 additions and 0 deletions

View file

@ -58,8 +58,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
//Ignore __attribute__ on non-gcc platforms //Ignore __attribute__ on non-gcc platforms
#ifndef __GNUC__ #ifndef __GNUC__
#ifndef __attribute__
#define __attribute__(x) #define __attribute__(x)
#endif #endif
#endif
/********************************************************************** /**********************************************************************
VM Considerations VM Considerations

View file

@ -25,6 +25,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../qcommon/cm_public.h" #include "../qcommon/cm_public.h"
//Ignore __attribute__ on non-gcc platforms
#ifndef __GNUC__
#ifndef __attribute__
#define __attribute__(x)
#endif
#endif
//#define PRE_RELEASE_DEMO //#define PRE_RELEASE_DEMO
//============================================================================ //============================================================================

View file

@ -27,6 +27,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
// This file must be identical in the quake and utils directories // This file must be identical in the quake and utils directories
// //
//Ignore __attribute__ on non-gcc platforms
#ifndef __GNUC__
#ifndef __attribute__
#define __attribute__(x)
#endif
#endif
// surface geometry should not exceed these limits // surface geometry should not exceed these limits
#define SHADER_MAX_VERTEXES 1000 #define SHADER_MAX_VERTEXES 1000
#define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES) #define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES)