r1103 - trunk/code/game
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Jun 27 06:06:15 EDT 2007
Author: ludwig
Date: 2007-06-27 06:06:15 -0400 (Wed, 27 Jun 2007)
New Revision: 1103
Modified:
trunk/code/game/bg_lib.h
Log:
fix bg_lib.h compilation with lcc
Modified: trunk/code/game/bg_lib.h
===================================================================
--- trunk/code/game/bg_lib.h 2007-06-25 10:02:03 UTC (rev 1102)
+++ trunk/code/game/bg_lib.h 2007-06-27 10:06:15 UTC (rev 1103)
@@ -26,6 +26,13 @@
#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
More information about the quake3-commits
mailing list