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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [fixincludes/] [tests/] [base/] [testing.h] - Blame information for rev 855

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

Line No. Rev Author Line
1 38 julius
/*  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( LIBC1_IFDEFD_MEMX_CHECK )
78
/* Copy N bytes of SRC to DEST.  */
79
extern __ptr_t memcpy __P ((__ptr_t __dest, __const __ptr_t __src,
80
                         size_t __n));
81
#endif  /* LIBC1_IFDEFD_MEMX_CHECK */
82
 
83
 
84
#if defined( MACHINE_ANSI_H_VA_LIST_CHECK )
85
 # define _BSD_VA_LIST_ __builtin_va_list
86
#endif  /* MACHINE_ANSI_H_VA_LIST_CHECK */
87
 
88
 
89
#if defined( MACHINE_NAME_CHECK )
90
/* MACH_DIFF: */
91
#if defined( i386 ) || defined( sparc ) || defined( vax )
92
/* no uniform test, so be careful  :-) */
93
#endif  /* MACHINE_NAME_CHECK */
94
 
95
 
96
#if defined( STRICT_ANSI_NOT_CHECK )
97
#if  !defined(__STRICT_ANSI__) 
98
#if  !defined(__STRICT_ANSI__)
99
#if  !defined(__STRICT_ANSI__)
100
#if  !defined(__STRICT_ANSI__)/* not std C */
101
int foo;
102
 
103
#end-end-end-end-if :-)
104
#endif  /* STRICT_ANSI_NOT_CHECK */
105
 
106
 
107
#if defined( STRICT_ANSI_ONLY_CHECK )
108
#if  defined(__STRICT_ANSI__) /* is std C
109
 */
110
int foo;
111
#endif
112
#endif  /* STRICT_ANSI_ONLY_CHECK */
113
 
114
 
115
#if defined( SYSV68_STRING_CHECK )
116
extern unsigned int strlen();
117
extern int ffs(int);
118
extern void
119
        *memccpy(),
120
        memcpy();
121
extern int
122
        strcmp(),
123
        strncmp();
124
extern unsigned int
125
        strlen(),
126
        strspn();
127
extern size_t
128
        strlen(), strspn();
129
#endif  /* SYSV68_STRING_CHECK */
130
 
131
 
132
#if defined( WINDISS_VALIST_CHECK )
133
#include <stdarg.h>
134
#endif  /* WINDISS_VALIST_CHECK */

powered by: WebSVN 2.1.0

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