mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
netlist.h: Fix for GCC prior to 4.3 [Federico Schwindt]
This commit is contained in:
parent
9c2457eec1
commit
d4219d8d2f
@ -99,7 +99,7 @@ ATTR_COLD void NETLIST_NAME(_name)(netlist_setup_t &netlist) \
|
||||
|
||||
#define NETLIST_MEMREGION(_name) \
|
||||
netlist.parse((char *)downcast<netlist_t &>(netlist.netlist()).machine().root_device().memregion(_name)->base());
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 3)
|
||||
#if defined(__GNUC__) && (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3))
|
||||
#if !defined(__ppc__) && !defined (__PPC__) && !defined(__ppc64__) && !defined(__PPC64__)
|
||||
#define ATTR_ALIGN __attribute__ ((aligned(128)))
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user