diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-09-26 22:51:03 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-09-27 08:20:44 +0300 |
commit | d83de4b1a93ba7ed7bc3243073be3de96a44bfa9 (patch) | |
tree | ef5bbc6a0d8155fcab8a6029f3cf45ebdbc86f9b /bridges/inc | |
parent | 30d33b126f47021a99fb8ca63d6c6be29407e9cc (diff) |
First attempt at C++/UNO bridge for 64-bit OS X
Basically, a 1:1 copy of the Linux x86-64 one. The Apple docs say that
"The OS X x86-64 function calling conventions are the same as the
function calling conventions described in System V Application Binary
Interface AMD64 Architecture Processor Supplement," which should mean
that it's the same as on Linux.
Once this works, the very minor differences to the Linux one will be
merged as ifdefs into the Linux one, and no separate source files will
be needed.
Change-Id: I1ff58f303a7ab7f59ec2ff7a9e24465e89151ec5
Diffstat (limited to 'bridges/inc')
-rw-r--r-- | bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx index bc43fb48e519..cc6ef427ea7f 100644 --- a/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx +++ b/bridges/inc/bridges/cpp_uno/shared/vtablefactory.hxx @@ -39,7 +39,8 @@ /*See: http://people.redhat.com/drepper/selinux-mem.html*/ #if defined(LINUX) || defined(OPENBSD) || defined(FREEBSD) \ - || defined(NETBSD) || defined(DRAGONFLY) || defined (ANDROID) + || defined(NETBSD) || defined(DRAGONFLY) || defined (ANDROID) \ + || (defined(MACOSX) && defined(__LP64__)) #define USE_DOUBLE_MMAP #endif |