From bc9ee5644be79108892fdf0427aa54c94686fdb5 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 27 Oct 2005 21:49:36 +0000 Subject: [PATCH] * Ignore __attribute__ when not using gcc --- code/qcommon/q_shared.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/qcommon/q_shared.h b/code/qcommon/q_shared.h index 212e04cb..b817da05 100644 --- a/code/qcommon/q_shared.h +++ b/code/qcommon/q_shared.h @@ -56,6 +56,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #pragma warning(disable : 4220) // varargs matches remaining parameters #endif +//Ignore __attribute__ on non-gcc platforms +#ifndef __GNUC__ +#define __attribute__(x) +#endif + /********************************************************************** VM Considerations