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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [fixincludes/] [tests/] [base/] [testing.h] - Blame information for rev 280

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

Line No. Rev Author Line
1 266 jeremybenn
/*  DO NOT EDIT THIS FILE.
2
 
3
    It has been auto-edited by fixincludes from:
4
 
5
        "fixinc/tests/inc/testing.h"
6
 
7
    This had to be done to correct non-standard usages in the
8
    original, manufacturer supplied header file.  */
9
 
10
 
11
 
12
#if defined( ALPHA___EXTERN_PREFIX_CHECK )
13
#if (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))
14
#pragma extern_prefix "_P"
15
#   if  (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))
16
#     pragma extern_prefix "_E"
17
# if !defined(_LIBC_POLLUTION_H_) &&  (defined(__DECC) || defined(__PRAGMA_EXTERN_PREFIX))
18
#  pragma extern_prefix ""
19
#endif  /* ALPHA___EXTERN_PREFIX_CHECK */
20
 
21
 
22
#if defined( ALPHA_BAD_LVAL_CHECK )
23
#pragma extern_prefix "_FOO"
24
#define something _FOOsomething
25
#define mumble _FOOmumble
26
#endif  /* ALPHA_BAD_LVAL_CHECK */
27
 
28
 
29
#if defined( AVOID_WCHAR_T_TYPE_CHECK )
30
#ifndef __cplusplus
31
typedef unsigned short  wchar_t         ;
32
#endif /* wchar_t
33
 type */
34
#endif  /* AVOID_WCHAR_T_TYPE_CHECK */
35
 
36
 
37
#if defined( CTRL_QUOTES_DEF_CHECK )
38
#define BSD43_CTRL(n, x) ((n<<8)+x)
39
 
40
#endif  /* CTRL_QUOTES_DEF_CHECK */
41
 
42
 
43
#if defined( CTRL_QUOTES_USE_CHECK )
44
#define TCTRLFOO BSD43_CTRL('T', 1)
45
#endif  /* CTRL_QUOTES_USE_CHECK */
46
 
47
 
48
#if defined( DJGPP_WCHAR_H_CHECK )
49
#include <stddef.h>
50
#include <sys/djtypes.h>
51
extern __DJ_wint_t x;
52
 
53
#endif  /* DJGPP_WCHAR_H_CHECK */
54
 
55
 
56
#if defined( HPUX11_SIZE_T_CHECK )
57
#define _hpux_size_t size_t
58
       extern int getpwuid_r( char *, _hpux_size_t, struct passwd **);
59
 
60
#endif  /* HPUX11_SIZE_T_CHECK */
61
 
62
 
63
#if defined( IO_QUOTES_DEF_CHECK )
64
#define BSD43__IOWR(n, x) ((n<<8)+x)
65
#define _IOWN(x,y,t)  (_IOC_IN|(((t)&_IOCPARM_MASK)<<16)|(x<<8)|y)
66
#define _IO(x,y)      (x<<8|y)
67
#endif  /* IO_QUOTES_DEF_CHECK */
68
 
69
 
70
#if defined( IO_QUOTES_USE_CHECK )
71
#define TIOCFOO BSD43__IOWR('T', 1)
72
#define TIOCFOO \
73
BSD43__IOWR('T', 1) /* Some are multi-line */
74
#endif  /* IO_QUOTES_USE_CHECK */
75
 
76
 
77
#if defined( MACHINE_ANSI_H_VA_LIST_CHECK )
78
 # define _BSD_VA_LIST_ __builtin_va_list
79
#endif  /* MACHINE_ANSI_H_VA_LIST_CHECK */
80
 
81
 
82
#if defined( MACHINE_NAME_CHECK )
83
/* MACH_DIFF: */
84
#if defined( i386 ) || defined( sparc ) || defined( vax )
85
/* no uniform test, so be careful  :-) */
86
#endif  /* MACHINE_NAME_CHECK */
87
 
88
 
89
#if defined( STRICT_ANSI_NOT_CHECK )
90
#if  !defined(__STRICT_ANSI__) 
91
#if  !defined(__STRICT_ANSI__)
92
#if  !defined(__STRICT_ANSI__)
93
#if  !defined(__STRICT_ANSI__)/* not std C */
94
int foo;
95
 
96
#end-end-end-end-if :-)
97
#endif  /* STRICT_ANSI_NOT_CHECK */
98
 
99
 
100
#if defined( STRICT_ANSI_ONLY_CHECK )
101
#if  defined(__STRICT_ANSI__) /* is std C
102
 */
103
int foo;
104
#endif
105
#endif  /* STRICT_ANSI_ONLY_CHECK */
106
 
107
 
108
#if defined( SYSV68_STRING_CHECK )
109
extern unsigned int strlen();
110
extern int ffs(int);
111
extern void
112
        *memccpy(),
113
        memcpy();
114
extern int
115
        strcmp(),
116
        strncmp();
117
extern unsigned int
118
        strlen(),
119
        strspn();
120
extern size_t
121
        strlen(), strspn();
122
#endif  /* SYSV68_STRING_CHECK */

powered by: WebSVN 2.1.0

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