r189 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Thu Oct 27 17:49:36 EDT 2005
Author: tma
Date: 2005-10-27 17:49:36 -0400 (Thu, 27 Oct 2005)
New Revision: 189
Modified:
trunk/code/qcommon/q_shared.h
Log:
* Ignore __attribute__ when not using gcc
Modified: trunk/code/qcommon/q_shared.h
===================================================================
--- trunk/code/qcommon/q_shared.h 2005-10-27 21:13:47 UTC (rev 188)
+++ trunk/code/qcommon/q_shared.h 2005-10-27 21:49:36 UTC (rev 189)
@@ -56,6 +56,11 @@
#pragma warning(disable : 4220) // varargs matches remaining parameters
#endif
+//Ignore __attribute__ on non-gcc platforms
+#ifndef __GNUC__
+#define __attribute__(x)
+#endif
+
/**********************************************************************
VM Considerations
More information about the quake3-commits
mailing list