gcc/fixincludes/tests/base/curses.h
David Edelsohn 0654e6be95 inclhack.def (aix_null): New.
* inclhack.def (aix_null): New.
        (void_null): Update replacement definition of NULL.
        * fixincl.x: Regenerate.
        * tests/base/curses.h: Update for new fix.

From-SVN: r198596
2013-05-04 10:49:59 -04:00

51 lines
997 B
C

/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/curses.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( AIX_NULL_CHECK )
# define NULL (0L) /* typed NULL */
#endif /* AIX_NULL_CHECK */
#if defined( AVOID_BOOL_DEFINE_CHECK )
#ifndef __cplusplus
# define bool char
#endif
#endif /* AVOID_BOOL_DEFINE_CHECK */
#if defined( AVOID_BOOL_TYPE_CHECK )
#ifndef __cplusplus
typedef unsigned int bool ;
#endif /* bool
type */
#endif /* AVOID_BOOL_TYPE_CHECK */
#if defined( BAD_STRUCT_TERM_CHECK )
struct term;
#endif /* BAD_STRUCT_TERM_CHECK */
#if defined( VOID_NULL_CHECK )
#ifndef NULL
#ifdef __cplusplus
#ifdef __GNUG__
#define NULL __null
#else /* ! __GNUG__ */
#define NULL 0L
#endif /* __GNUG__ */
#else /* ! __cplusplus */
#define NULL ((void *)0)
#endif /* __cplusplus */
#endif /* !NULL */ /* typed NULL */
#endif /* VOID_NULL_CHECK */