Skip to content

Commit b1b6ddf

Browse files
committed
Make xabicc more resilient for 32bit
1 parent b129491 commit b1b6ddf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

platforms/Cross/plugins/IA32ABI/xabicc.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* The plugin is misnamed. It should be the AlienPlugin, but its history
66
* dictates otherwise.
77
*/
8-
#if i386|i486|i586|i686
8+
#if i386|i486|i586|i686|__i386__|__i486__|__i586__|__i686__
99
# include "ia32abicc.c"
1010
#elif powerpc|ppc
1111
# include "ppc32abicc.c"
@@ -17,5 +17,6 @@
1717
# endif
1818
#elif __ARM_ARCH__|__arm__|__arm32__|ARM32
1919
# include "arm32abicc.c"
20+
#else
21+
#error "Unsupported architecture"
2022
#endif
21-

0 commit comments

Comments
 (0)