From 62996dd309ac2196e7dd4545edb87936c8bea8da Mon Sep 17 00:00:00 2001 From: tma Date: Thu, 27 Oct 2005 21:49:36 +0000 Subject: * Ignore __attribute__ when not using gcc git-svn-id: svn://svn.icculus.org/quake3/trunk@189 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/q_shared.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'code/qcommon') diff --git a/code/qcommon/q_shared.h b/code/qcommon/q_shared.h index 212e04c..b817da0 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 -- cgit v1.2.3