ioport: Support obsolete gcc versions [O. Galibert]

This commit is contained in:
Olivier Galibert 2012-03-05 20:11:39 +00:00
parent 347ff9bce4
commit 1612adbb19

View File

@ -48,7 +48,7 @@
#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)));
#ifdef __GNUC__
#if defined(__GNUC__) && __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
__attribute__((optimize("O0")))
#endif
void construct_core_types(simple_list<input_type_entry> &typelist)