Previous 199869 Revisions Next

r32905 Thursday 23rd October, 2014 at 12:04:19 UTC by Barry Rodewald
Add check for GCC 4.4.4+ for pragma, definitely doesn't work with 4.4.3
[src/emu]inpttype.h

trunk/src/emu/inpttype.h
r241416r241417
2020   typelist.append(*global_alloc(input_type_entry(IPT_##_type, IPG_##_group, (_player == 0) ? _player : (_player) - 1, (_player == 0) ? #_type : ("P" #_player "_" #_type), _name, _seq, _decseq, _incseq)));
2121
2222/* These input port macros expand to a great deal of code and break compilers */
23#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
23#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) || (__GNUC__ == 4 && __GNUC_MINOR__ == 4 && __GNUC_PATCHLEVEL__ >= 4)
2424#pragma GCC optimize ("O1")
2525#endif
2626#ifdef _MSC_VER


Previous 199869 Revisions Next


© 1997-2024 The MAME Team