mirror of
https://github.com/holub/mame
synced 2025-06-04 03:46:29 +03:00
had to revert this in order clang to work (nw)
This commit is contained in:
parent
83e804ab0c
commit
ce3bc53918
@ -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)));
|
||||
|
||||
/* These input port macros expand to a great deal of code and break compilers */
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 4 || (__GNUC_MINOR__ == 4 && __GNUC_PATCHLEVEL__ >= 4))))
|
||||
#pragma GCC push_options
|
||||
#pragma GCC optimize ("O1")
|
||||
#elif defined(_MSC_VER)
|
||||
@ -829,7 +829,7 @@ void construct_core_types(simple_list<input_type_entry> &typelist)
|
||||
construct_core_types_OSD(typelist);
|
||||
construct_core_types_invalid(typelist);
|
||||
}
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 4 || (__GNUC_MINOR__ == 4 && __GNUC_PATCHLEVEL__ >= 4))))
|
||||
#pragma GCC pop_options
|
||||
#elif defined(_MSC_VER)
|
||||
#pragma optimize("", on)
|
||||
|
Loading…
Reference in New Issue
Block a user