diff options
author | Herbert Dürr <hdu@apache.org> | 2013-04-30 14:02:37 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2013-04-30 14:02:37 +0000 |
commit | bb8dd56dd91fb1b3b9f2033ed339fdd4ac4ee19a (patch) | |
tree | 76d355d4e567f8549b1cccae2003ec4bc40d526c /cppu | |
parent | 8a10735b8ee3926a592d6919f4dbb823771bed9f (diff) |
fix BINTEST_VERIFYSIZE for non-debug builds
Notes
Notes:
prefer: 989bbfb35020c593a5b6412f36507d499d4dcb3f
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/data.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cppu/source/uno/data.cxx b/cppu/source/uno/data.cxx index b9a78dc2cea3..d23f61e7901d 100644 --- a/cppu/source/uno/data.cxx +++ b/cppu/source/uno/data.cxx @@ -368,10 +368,8 @@ sal_Bool SAL_CALL uno_type_isAssignableFromData( #define BINTEST_VERIFYOFFSET( s, m, n ) \ if (OFFSET_OF(s, m) != n) { fprintf( stderr, "### OFFSET_OF(" #s ", " #m ") = %" SAL_PRI_SIZET "u instead of expected %d!!!\n", OFFSET_OF(s, m), static_cast<int>(n) ); abort(); } -#if OSL_DEBUG_LEVEL > 1 #define BINTEST_VERIFYSIZE( s, n ) \ if (sizeof(s) != n) { fprintf( stderr, "### sizeof(" #s ") = %d instead of expected %d!!!\n", (int)sizeof(s), n ); abort(); } -#endif struct C1 { |