diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-22 10:49:21 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-12-22 10:50:23 +0200 |
commit | a1a76eface98e1050fd0df1a6934e4d3a3fae5b2 (patch) | |
tree | 7047142ceb6c80dd07770ecffdb5d985ec9aeea2 /bridges | |
parent | 77f1f2209cfecc0af2d1e1db460b2614068748da (diff) |
Fix build break for (32-bit) arm
Change-Id: I21c81aa1791cab8ac510c87b4a78ad1367fe8b78
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_ios_arm/share.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/share.hxx b/bridges/source/cpp_uno/gcc3_ios_arm/share.hxx index c719aa2b683a..0a0a4fb6023f 100644 --- a/bridges/source/cpp_uno/gcc3_ios_arm/share.hxx +++ b/bridges/source/cpp_uno/gcc3_ios_arm/share.hxx @@ -47,18 +47,21 @@ namespace CPPU_CURRENT_NAMESPACE namespace arm { - enum armlimits { #if defined(__arm) + enum armlimits { MAX_GPR_REGS = 4, MAX_FPR_REGS = 8 + }; + bool return_in_hidden_param( typelib_TypeDescriptionReference *pTypeRef ); #elif defined(__arm64) + enum armlimits { MAX_GPR_REGS = 8, MAX_FPR_REGS = 8 + }; + bool return_in_x8( typelib_TypeDescriptionReference *pTypeRef ); #else #error wtf #endif - }; - bool return_in_x8( typelib_TypeDescriptionReference *pTypeRef ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |