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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [fixincludes/] [tests/] [base/] [assert.h] - Blame information for rev 778

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

Line No. Rev Author Line
1 724 jeremybenn
/*  DO NOT EDIT THIS FILE.
2
 
3
    It has been auto-edited by fixincludes from:
4
 
5
        "fixinc/tests/inc/assert.h"
6
 
7
    This had to be done to correct non-standard usages in the
8
    original, manufacturer supplied header file.  */
9
 
10
#ifndef FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB
11
#define FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB 1
12
 
13
#ifdef __cplusplus
14
#include <stdlib.h>
15
#endif
16
#ifndef FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO
17
#define FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO 1
18
 
19
#include <stdio.h>
20
 
21
 
22
#if defined( ALPHA___ASSERT_CHECK )
23
extern void __assert(const char *, const char *, int);
24
#endif  /* ALPHA___ASSERT_CHECK */
25
 
26
 
27
#if defined( ALPHA_ASSERT_CHECK )
28
#define assert(EX) ((EX) ? (void)0 : __assert(#EX, __FILE__, __LINE__))
29
#endif  /* ALPHA_ASSERT_CHECK */
30
 
31
 
32
#if defined( BROKEN_ASSERT_STDIO_CHECK )
33
extern FILE* stderr;
34
#endif  /* BROKEN_ASSERT_STDIO_CHECK */
35
 
36
 
37
#if defined( BROKEN_ASSERT_STDLIB_CHECK )
38
extern void exit ( int );
39
#endif  /* BROKEN_ASSERT_STDLIB_CHECK */
40
 
41
#endif  /* FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO */
42
 
43
#endif  /* FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB */

powered by: WebSVN 2.1.0

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