From 6215e491279947857385da038b43e4d3cec1334a Mon Sep 17 00:00:00 2001 From: ludwig Date: Wed, 27 Jun 2007 10:06:15 +0000 Subject: fix bg_lib.h compilation with lcc git-svn-id: svn://svn.icculus.org/quake3/trunk@1103 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/game/bg_lib.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'code') diff --git a/code/game/bg_lib.h b/code/game/bg_lib.h index 493afa2..9d2b623 100644 --- a/code/game/bg_lib.h +++ b/code/game/bg_lib.h @@ -26,6 +26,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef BG_LIB_H #define BG_LIB_H +//Ignore __attribute__ on non-gcc platforms +#ifndef __GNUC__ +#ifndef __attribute__ +#define __attribute__(x) +#endif +#endif + #ifndef NULL #define NULL ((void *)0) #endif -- cgit v1.2.3