summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-09-24 05:27:26 +1000
committer Vas Crabb <vas@vastheman.com>2021-09-24 05:27:26 +1000
commitb2116467d6d1d592a306180e1a41a89d89926cde (patch)
tree645336ec0b5047618e55df0e27890d05b389b698 /src/lib
parent23d26fbacb7e8e629aa29ca6eb10a7f0a100e069 (diff)
util/delegate.cpp: PowerPC-64 Little Endian drops function descriptors.
At some point I'll make a proper header ABI detection. There's too much stuff to keep in the delegate sources, and it will be useful for other stuff like recompilers.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/util/delegate.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/util/delegate.cpp b/src/lib/util/delegate.cpp
index 3ccb7294ee4..6f73c925da1 100644
--- a/src/lib/util/delegate.cpp
+++ b/src/lib/util/delegate.cpp
@@ -29,7 +29,9 @@
// other platforms using this convention include:
// * AIX, Classic MacOS and WinNT on 32-bit POWER/PowerPC
// * pretty much anything on Itanium
-#if (defined(__ppc64__) || (defined(__PPC64__))) && !defined(__APPLE__)
+// separately, on some architectures, function descriptors are stored in
+// vtables directly
+#if defined(__ia64__)
#define MAME_DELEGATE_VT_DESCRIPTOR 1
#endif
#ifndef MAME_DELEGATE_VT_DESCRIPTOR