OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [trunk/] [lcc/] [include/] [alpha/] [osf/] [assert.h] - Blame information for rev 89

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 hellwig
#ifndef __ASSERT
2
#define __ASSERT
3
 
4
void assert(int);
5
 
6
#endif /* __ASSERT */
7
 
8
#undef assert
9
#ifdef NDEBUG
10
#define assert(ignore) ((void)0)
11
#else
12
extern void __assert(char *, char *, unsigned);
13
#define assert(e) ((void)((e)||(__assert(#e, __FILE__, __LINE__),0)))
14
#endif /* NDEBUG */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.