mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-13 13:54:05 +08:00
fixinc test result changes
From-SVN: r35013
This commit is contained in:
parent
687262b1f6
commit
8e9114bbad
4
gcc/fixinc/tests/base/arpa/inet.h
Normal file
4
gcc/fixinc/tests/base/arpa/inet.h
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
|
||||
#if defined( UW7_BYTEORDER_FIX_CHECK )
|
||||
#endif /* UW7_BYTEORDER_FIX_CHECK */
|
@ -68,6 +68,14 @@ typedef struct exception t_math_exception;
|
||||
#endif /* MATH_EXCEPTION_CHECK */
|
||||
|
||||
|
||||
#if defined( MATH_HUGE_VAL_FROM_DBL_MAX_CHECK )
|
||||
|
||||
#ifndef HUGE_VAL
|
||||
#define HUGE_VAL 3.1415e+9 /* really big */
|
||||
#endif
|
||||
#endif /* MATH_HUGE_VAL_FROM_DBL_MAX_CHECK */
|
||||
|
||||
|
||||
#if defined( MATH_HUGE_VAL_IFNDEF_CHECK )
|
||||
#ifndef HUGE_VAL
|
||||
# define HUGE_VAL 3.4e+40
|
||||
|
@ -33,6 +33,11 @@ extern int rename(const char *_old, const char *_new);
|
||||
#endif /* STDIO_STDARG_H_CHECK */
|
||||
|
||||
|
||||
#if defined( STDIO_DUMMY_VA_LIST_CHECK )
|
||||
extern void mumble( __gnuc_va_list);
|
||||
#endif /* STDIO_DUMMY_VA_LIST_CHECK */
|
||||
|
||||
|
||||
#if defined( ULTRIX_CONST_CHECK )
|
||||
extern void perror( const char *__s );
|
||||
extern int fputs( const char *__s, FILE *);
|
||||
|
@ -7,6 +7,13 @@
|
||||
#endif /* LIMITS_IFNDEFS_CHECK */
|
||||
|
||||
|
||||
#if defined( NESTED_MOTOROLA_CHECK )
|
||||
#undef PIPE_BUF /* max # bytes atomic in write to a */
|
||||
/* PIPE */
|
||||
/*#define HUGE_VAL 3.9e+9 */ /*error value returned by Math lib*/
|
||||
#endif /* NESTED_MOTOROLA_CHECK */
|
||||
|
||||
|
||||
#if defined( NESTED_SYS_LIMITS_CHECK )
|
||||
/*
|
||||
#define CHILD_MAX 20 Max, Max, ... */ /*
|
||||
|
@ -1,11 +1,28 @@
|
||||
|
||||
|
||||
#if defined( SYSTYPES_STDLIB_SIZE_T_CHECK )
|
||||
#if defined( GNU_TYPES_CHECK )
|
||||
#ifndef __PTRDIFF_TYPE__
|
||||
#define __PTRDIFF_TYPE__ long int
|
||||
#endif
|
||||
#if !defined(_GCC_PTRDIFF_T)
|
||||
#define _GCC_PTRDIFF_T
|
||||
typedef __PTRDIFF_TYPE__ ptrdiff_t;
|
||||
#endif
|
||||
/* long int */
|
||||
#ifndef __SIZE_TYPE__
|
||||
#define __SIZE_TYPE__ long unsigned int
|
||||
#endif
|
||||
#ifndef _GCC_SIZE_T
|
||||
#if !defined(_GCC_SIZE_T)
|
||||
#define _GCC_SIZE_T
|
||||
typedef __SIZE_TYPE__ size_t; /* size of something */
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
#endif
|
||||
#endif /* SYSTYPES_STDLIB_SIZE_T_CHECK */
|
||||
/* uint_t */
|
||||
#ifndef __WCHAR_TYPE__
|
||||
#define __WCHAR_TYPE__ int
|
||||
#endif
|
||||
#if !defined(_GCC_WCHAR_T) && !defined(__cplusplus)
|
||||
#define _GCC_WCHAR_T
|
||||
typedef __WCHAR_TYPE__ wchar_t;
|
||||
#endif
|
||||
/* ushort_t */
|
||||
#endif /* GNU_TYPES_CHECK */
|
||||
|
@ -43,6 +43,22 @@ int foo;
|
||||
#endif /* SCO_STRICT_ANSI_CHECK */
|
||||
|
||||
|
||||
#if defined( SYSV68_STRING_CHECK )
|
||||
extern unsigned int strlen();
|
||||
extern int ffs(int);
|
||||
extern void
|
||||
*memccpy(),
|
||||
memcpy();
|
||||
extern int
|
||||
strncmp();
|
||||
extern unsigned int
|
||||
strlen(),
|
||||
strspn();
|
||||
extern size_t
|
||||
strlen(), strspn();
|
||||
#endif /* SYSV68_STRING_CHECK */
|
||||
|
||||
|
||||
#if defined( UNDEFINE_NULL_CHECK )
|
||||
#ifndef NULL
|
||||
#define NULL 0UL
|
||||
|
Loading…
Reference in New Issue
Block a user