No longer used; we now have a BeOS compatible replacement in posix/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8241 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,32 +0,0 @@
|
|||||||
/*
|
|
||||||
** Copyright 2002, Travis Geiselbrecht. All rights reserved.
|
|
||||||
** Copyright 2002, Manuel J. Petit. All rights reserved.
|
|
||||||
** Distributed under the terms of the NewOS License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __newos__nulibc_assert__hh__
|
|
||||||
#define __newos__nulibc_assert__hh__
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C"
|
|
||||||
{
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
void _assert(char const *, int, char const *);
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef NDEBUG
|
|
||||||
# define assert(x)
|
|
||||||
#else
|
|
||||||
# define assert(x) ( (x) ? (void)0 : _assert(__FILE__, __LINE__, #x) )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
} /* "C" */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user