aboutsummaryrefslogtreecommitdiff
//
//  boost/assert.hpp - BOOST_ASSERT(expr)
//
//  Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd.
//
//  Permission to copy, use, modify, sell and distribute this software
//  is granted provided this copyright notice appears in all copies.
//  This software is provided "as is" without express or implied
//  warranty, and with no claim as to its suitability for any purpose.
//
//  Note: There are no include guards. This is intentional.
//
//  See http://www.boost.org/libs/utility/assert.html for documentation.
//

#undef BOOST_ASSERT

#if defined(BOOST_DISABLE_ASSERTS)

# define BOOST_ASSERT(expr) ((void)0)

#elif defined(BOOST_ENABLE_ASSERT_HANDLER)

#include <boost/current_function.hpp>

namespace boost
{

void assertion_failed(char const * expr, char const * function, char const * file, long line); // user defined

} // namespace boost

#define BOOST_ASSERT(expr) ((expr)? ((void)0): ::boost::assertion_failed(#expr, BOOST_CURRENT_FUNCTION, __FILE__, __LINE__))

#else
# include <assert.h>
# define BOOST_ASSERT(expr) assert(expr)
#endif
>
authorEfraim Flashner <efraim@flashner.co.il>2017-08-15 10:30:33 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-08-15 10:31:20 +0300
commit3837108e403d385cd0b616fb601b9942c8bb213f (patch)
tree3a8d0af86f7826e0006d9283bc0b5d3af59068e1 /doc
parent2d430f29231d0d817459d86e0fe15089372e9547 (diff)
downloadguix-3837108e403d385cd0b616fb601b9942c8bb213f.tar.gz
guix-3837108e403d385cd0b616fb601b9942c8bb213f.zip
gnu: bcftools: Fix building on aarch64.
* gnu/packages/patches/bcftools-regidx-unsigned-char.patch: New file. * gnu/packages/bioinformatics.scm (bcftools)[source]: Use it. * gnu/local.mk (dist_patch_DATA): Register it.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions