Files
FireBee_Setup/devtools/ahcccf.bin/include/assert.h
2022-10-02 10:09:40 +02:00

39 lines
639 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* ASSERT.H
Diagnostic Includes
Copyright (c) Borland International 1990
All Rights Reserved.
*/
#if !defined( __ASSERT )
#define __ASSERT
#if !defined(NDEBUG)
#if !defined(__STDLIB)
#include <stdlib.h>
#endif
#if !defined( __STDIO )
#include <stdio.h>
#endif
#define assert( expr )\
((void)((expr)||(fprintf( stderr, \
"\nAssertion failed: %s, file %s, line %d\n",\
#expr, __FILE__, __LINE__ ),\
((int (*)(void))abort)())))
#else
#define assert( expr )
#endif
#endif
/************************************************************************/