Fix build for external boost 1.56.0
[alexxy/gromacs.git] / src / gromacs / utility / gmxassert.h
index 0259b611f14a354b6b2bed1d9f8a6e6410d4eed5..b47d9d093331d0ecfb28aa667e67d578d1e50171 100644 (file)
@@ -44,7 +44,8 @@
 #define GMX_UTILITY_GMXASSERT_H
 
 #include <boost/current_function.hpp>
-#include <boost/exception/detail/attribute_noreturn.hpp>
+
+#include "basedefinitions.h"
 
 //! \addtogroup module_utility
 //! \{
@@ -100,7 +101,7 @@ namespace internal
  *
  * \ingroup module_utility
  */
-BOOST_ATTRIBUTE_NORETURN
+gmx_noreturn
 void assertHandler(const char *condition, const char *msg,
                    const char *func, const char *file, int line);