aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
authorludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-06-27 10:06:15 +0000
committerludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-06-27 10:06:15 +0000
commit6215e491279947857385da038b43e4d3cec1334a (patch)
tree799a7e40c701b2411c9ce1b8d92a52e3397955f8 /code
parent9cb8e39baffdfc7d871baab8f2c548ed7974aa4b (diff)
downloadioquake3-aero-6215e491279947857385da038b43e4d3cec1334a.tar.gz
ioquake3-aero-6215e491279947857385da038b43e4d3cec1334a.zip
fix bg_lib.h compilation with lcc
git-svn-id: svn://svn.icculus.org/quake3/trunk@1103 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code')
-rw-r--r--code/game/bg_lib.h7
1 files changed, 7 insertions, 0 deletions
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