diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-27 21:49:36 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-10-27 21:49:36 +0000 |
commit | 62996dd309ac2196e7dd4545edb87936c8bea8da (patch) | |
tree | 1596d5e6882a9dec3a1f41a6278b97d39efc6cfd | |
parent | 163e8dc4db61a3daf608edf693849f99e8f2f7ba (diff) | |
download | ioquake3-aero-62996dd309ac2196e7dd4545edb87936c8bea8da.tar.gz ioquake3-aero-62996dd309ac2196e7dd4545edb87936c8bea8da.zip |
* Ignore __attribute__ when not using gcc
git-svn-id: svn://svn.icculus.org/quake3/trunk@189 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | code/qcommon/q_shared.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |