mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
Add check for GCC 4.4.4+ for pragma, definitely doesn't work with 4.4.3
This commit is contained in:
parent
327b89b2b5
commit
124803b476
@ -20,7 +20,7 @@
|
|||||||
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)));
|
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)));
|
||||||
|
|
||||||
/* These input port macros expand to a great deal of code and break compilers */
|
/* These input port macros expand to a great deal of code and break compilers */
|
||||||
#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4)
|
#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) || (__GNUC__ == 4 && __GNUC_MINOR__ == 4 && __GNUC_PATCHLEVEL__ >= 4)
|
||||||
#pragma GCC optimize ("O1")
|
#pragma GCC optimize ("O1")
|
||||||
#endif
|
#endif
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
Loading…
Reference in New Issue
Block a user