From 65f5881be597a7bfaaefe84199fe9775194cf3fa Mon Sep 17 00:00:00 2001 From: tma Date: Thu, 27 Oct 2005 22:05:38 +0000 Subject: * ...and the other common headers git-svn-id: svn://svn.icculus.org/quake3/trunk@190 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/qfiles.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'code/qcommon/qfiles.h') diff --git a/code/qcommon/qfiles.h b/code/qcommon/qfiles.h index 1aab668..bf7ccfd 100644 --- a/code/qcommon/qfiles.h +++ b/code/qcommon/qfiles.h @@ -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 // +//Ignore __attribute__ on non-gcc platforms +#ifndef __GNUC__ +#ifndef __attribute__ +#define __attribute__(x) +#endif +#endif + // surface geometry should not exceed these limits #define SHADER_MAX_VERTEXES 1000 #define SHADER_MAX_INDEXES (6*SHADER_MAX_VERTEXES) -- cgit v1.2.3