diff options
Diffstat (limited to 'cppu/source/uno/check.cxx')
-rw-r--r-- | cppu/source/uno/check.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/cppu/source/uno/check.cxx b/cppu/source/uno/check.cxx index d1ce9bbc0c6f..8e99ff0a35c3 100644 --- a/cppu/source/uno/check.cxx +++ b/cppu/source/uno/check.cxx @@ -133,11 +133,6 @@ struct Char3 : public Char2 { char c3 CPPU_GCC3_ALIGN( Char2 ); }; -struct Char4 -{ - Char3 chars; - char c; -}; enum Enum { v = SAL_MAX_ENUM @@ -258,6 +253,12 @@ static_assert(sizeof(second) == sizeof(int), "sizeof(second) != sizeof(int)"); #if OSL_DEBUG_LEVEL > 0 && !defined NDEBUG +struct Char4 +{ + Char3 chars; + char c; +}; + #define OFFSET_OF( s, m ) reinterpret_cast< size_t >(reinterpret_cast<char *>(&reinterpret_cast<s *>(16)->m) -16) class BinaryCompatible_Impl |