diff options
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/check.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppu/source/uno/check.cxx b/cppu/source/uno/check.cxx index e92d7616fa33..3dc0fc5aca0c 100644 --- a/cppu/source/uno/check.cxx +++ b/cppu/source/uno/check.cxx @@ -256,7 +256,7 @@ static_assert(sizeof(second) == sizeof(int), "sizeof(second) != sizeof(int)"); # error unexpected alignment of 8 byte types #endif -#if OSL_DEBUG_LEVEL > 0 +#if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG #define OFFSET_OF( s, m ) reinterpret_cast< size_t >(reinterpret_cast<char *>(&reinterpret_cast<s *>(16)->m) -16) |