summaryrefslogtreecommitdiff
path: root/bridges/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-10-05 07:27:05 +0300
committerTor Lillqvist <tml@collabora.com>2017-10-05 07:28:08 +0300
commitad0e0cb25c7943663f6c946fd300bff83e4caa59 (patch)
treeb532da8ff4c331c03aa0f2114fd7129f21872793 /bridges/source
parent633f405701fc5cadfa73e950f7a8c122ad01c149 (diff)
Fix --enable-assert-always-abort (but not --enable-debug) build
Look at NDEBUG, not OSL_DEBUG_LEVEL, to see whether asserts are active or not. Change-Id: I772d27da4bcc73c8c5a50ab4b72f50caddcf7273
Diffstat (limited to 'bridges/source')
-rw-r--r--bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
index b340c08b1a6a..3b7beeac3102 100644
--- a/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
+++ b/bridges/source/cpp_uno/gcc3_macosx_x86-64/cpp2uno.cxx
@@ -109,7 +109,7 @@ static typelib_TypeClass cpp2uno_call(
int nUsedGPR = 0;
int nUsedSSE = 0;
-#if OSL_DEBUG_LEVEL > 0
+#ifndef NDEBUG
bool bFitsRegisters =
#endif
x86_64::examine_argument( rParam.pTypeRef, false, nUsedGPR, nUsedSSE );