Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
include
ansi
_cassert.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
30
#include <
rw/_defs.h
>
31
32
#undef assert
33
34
#if !defined (NDEBUG)
35
# if defined (__GNUG__) || defined (__HP_aCC)
36
# define assert(expr) \
37
((expr) ? (void)0 : _RW::__rw_assert_fail (#expr, __FILE__, __LINE__, \
38
__PRETTY_FUNCTION__))
39
# elif !defined (_RWSTD_NO_FUNC)
40
# define assert(expr) \
41
((expr) ? (void)0 : _RW::__rw_assert_fail (#expr, __FILE__, __LINE__, \
42
__func__))
43
# else
// if !__GNUG__ && _RWSTD_NO_FUNC
44
# define assert(expr) \
45
((expr) ? (void)0 : _RW::__rw_assert_fail (#expr, __FILE__, __LINE__, 0))
46
# endif
47
#else
// if !defined (NDEBUG)
48
# define assert(ignore) ((void)0)
49
#endif
// NDEBUG
_defs.h
Generated by
1.9.8