diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-03-29 12:03:50 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-04-04 12:19:39 +0200 |
commit | 348eda61d501fb2e414742433ce9ced0247edc33 (patch) | |
tree | 152094ac76eefb96854a19790896640d9c7cb535 /cli_ure | |
parent | 6b6b99bad355185169a87d724538cb9074285c65 (diff) |
cli_ure: fix another bad _WIN64 check (related tdf#94265)
Same problem as commit 2aa20cfb7a11dd8d86372af4065a5887a0b752ca
Change-Id: I02160c53870a021c742babf358e0d6172557ef21
(cherry picked from commit cfaba15c589f882cc0bcce5cd07bdf3d30f547f6)
Reviewed-on: https://gerrit.libreoffice.org/35837
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
(cherry picked from commit 81bf39616039280fc1f9b18db3ea6dc04ae9fc08)
Diffstat (limited to 'cli_ure')
-rw-r--r-- | cli_ure/source/native/native_share.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli_ure/source/native/native_share.h b/cli_ure/source/native/native_share.h index 9b3ebe1ac9b9..1be1b3a082b3 100644 --- a/cli_ure/source/native/native_share.h +++ b/cli_ure/source/native/native_share.h @@ -91,10 +91,10 @@ inline void to_uno( reinterpret_cast< void ** >( &ret ), reinterpret_cast< void * >( ::System::Runtime::InteropServices::GCHandle::op_Explicit( handle ) -#if defined _WIN32 - .ToInt32() -#elif defined _WIN64 +#if defined _WIN64 .ToInt64() +#elif defined _WIN32 + .ToInt32() #else #error ERROR: either _WIN64 or _WIN32 must be defined ERROR: either _WIN64 or _WIN32 must be defined |