mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
ioport: Support obsolete gcc versions [O. Galibert]
This commit is contained in:
parent
347ff9bce4
commit
1612adbb19
@ -48,7 +48,7 @@
|
|||||||
#define INPUT_PORT_ANALOG_TYPE(_player,_group,_type,_name,_seq,_decseq,_incseq) \
|
#define INPUT_PORT_ANALOG_TYPE(_player,_group,_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)));
|
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)));
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
||||||
__attribute__((optimize("O0")))
|
__attribute__((optimize("O0")))
|
||||||
#endif
|
#endif
|
||||||
void construct_core_types(simple_list<input_type_entry> &typelist)
|
void construct_core_types(simple_list<input_type_entry> &typelist)
|
||||||
|
Loading…
Reference in New Issue
Block a user