diff options
Diffstat (limited to 'code')
-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 |