diff options
author | Alan Conway <aconway@apache.org> | 2008-01-24 22:51:20 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-01-24 22:51:20 +0000 |
commit | 73d2c12866764c1d7f53aad80356313337008476 (patch) | |
tree | 9513b9350ca554b21473bd76f0c4d44dc4303c10 /cpp/src | |
parent | f0a31beb7a609591e7b34e60ddfd85e9e183fbc0 (diff) | |
download | qpid-python-73d2c12866764c1d7f53aad80356313337008476.tar.gz |
Fix error in NDEBUG builds.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@615073 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/sys/posix/check.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/qpid/sys/posix/check.h b/cpp/src/qpid/sys/posix/check.h index 5de8863345..aa93c37205 100644 --- a/cpp/src/qpid/sys/posix/check.h +++ b/cpp/src/qpid/sys/posix/check.h @@ -38,8 +38,7 @@ /** Same as _THROW_IF in a release build, but abort a debug build */ #ifdef NDEBUG -#define QPID_POSIX_ASSERT_THROW_IF(ERRNO) qpid_posix \ - QPID_POSIX_THROW_IF(ERRNO) +#define QPID_POSIX_ASSERT_THROW_IF(ERRNO) QPID_POSIX_THROW_IF(ERRNO) #else #define QPID_POSIX_ASSERT_THROW_IF(ERRNO) \ do { int e=(ERRNO); if (e) { errno=e; perror(0); assert(0); } } while(0) |