aboutsummaryrefslogtreecommitdiffstats
path: root/code/qcommon/qcommon.h
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-27 22:05:38 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-10-27 22:05:38 +0000
commit65f5881be597a7bfaaefe84199fe9775194cf3fa (patch)
tree569898e353d07b32270edce3118735dac244a2ea /code/qcommon/qcommon.h
parent62996dd309ac2196e7dd4545edb87936c8bea8da (diff)
downloadioquake3-aero-65f5881be597a7bfaaefe84199fe9775194cf3fa.tar.gz
ioquake3-aero-65f5881be597a7bfaaefe84199fe9775194cf3fa.zip
* ...and the other common headers
git-svn-id: svn://svn.icculus.org/quake3/trunk@190 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/qcommon.h')
-rw-r--r--code/qcommon/qcommon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h
index 2530940..1d43853 100644
--- a/code/qcommon/qcommon.h
+++ b/code/qcommon/qcommon.h
@@ -25,6 +25,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../qcommon/cm_public.h"
+//Ignore __attribute__ on non-gcc platforms
+#ifndef __GNUC__
+#ifndef __attribute__
+#define __attribute__(x)
+#endif
+#endif
+
//#define PRE_RELEASE_DEMO
//============================================================================