X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/007e84eaf7247e8987d9cf6f795cb4a93ea66aa5..ac2a7907c624bdf2fdf09dee305e52e558e52798:/include/xbt/asserts.h diff --git a/include/xbt/asserts.h b/include/xbt/asserts.h index 0b719eaad4..7173df7ab8 100644 --- a/include/xbt/asserts.h +++ b/include/xbt/asserts.h @@ -1,7 +1,7 @@ -/* $Id$ */ /* xbt/asserts.h -- assertion mecanism */ -/* Copyright (c) 2004,2005 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2005, 2006, 2007, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -12,7 +12,7 @@ #include "xbt/misc.h" #include "xbt/log.h" #include "xbt/ex.h" - + SG_BEGIN_DECL() /** @@ -24,7 +24,6 @@ SG_BEGIN_DECL() * * @{ */ - #ifdef NDEBUG #define xbt_assert(cond) #define xbt_assert0(cond,msg) @@ -53,10 +52,6 @@ SG_BEGIN_DECL() /** @hideinitializer */ #define xbt_assert6(cond,msg,a,b,c,d,e,f) if (!(cond)) THROW6(0,0,msg,a,b,c,d,e,f) #endif - - -/** @} */ - -SG_END_DECL() - +/** @} */ + SG_END_DECL() #endif /* _XBT_ASSERTS_H */