diff options
author | Alan Conway <aconway@apache.org> | 2011-07-28 18:28:56 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2011-07-28 18:28:56 +0000 |
commit | 95ad2adfc443b227eba224279188c36906c1db66 (patch) | |
tree | 14c91400e2284b2c4f782d203a60d44dbee31f9e /qpid/cpp/src/qpid/assert.h | |
parent | 8db25489a2971803b21d73814521b40731111bd5 (diff) | |
download | qpid-python-qpid-3163.tar.gz |
Merge branch 'visibility-hidden' into qpid-3163qpid-3163
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-3163@1151956 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/assert.h')
-rw-r--r-- | qpid/cpp/src/qpid/assert.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/qpid/cpp/src/qpid/assert.h b/qpid/cpp/src/qpid/assert.h index 49e7c5355d..b7bfea0995 100644 --- a/qpid/cpp/src/qpid/assert.h +++ b/qpid/cpp/src/qpid/assert.h @@ -10,9 +10,9 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -23,15 +23,15 @@ */ #include <boost/current_function.hpp> - +#include "qpid/CommonImportExport.h" /** - * Abort if !expr in debug mode, throw an exception if NDEBUG is set. + * Abort if !expr in debug mode, throw an exception if NDEBUG is set. */ #define QPID_ASSERT(expr) ((expr) ? static_cast<void>(0) : ::qpid::assert_fail(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__)) namespace qpid { -void assert_fail(char const * expr, char const * function, char const * file, long line); +QPID_COMMON_EXTERN void assert_fail(char const * expr, char const * function, char const * file, long line); } // namespace qpid |