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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [gdb-5.0/] [bfd/] [bfd-in.h] - Diff between revs 105 and 865

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 105 Rev 865
Line 87... Line 87...
   force me to change it. */
   force me to change it. */
/* typedef enum boolean {false, true} boolean; */
/* typedef enum boolean {false, true} boolean; */
/* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h>  -fnf */
/* Yup, SVR4 has a "typedef enum boolean" in <sys/types.h>  -fnf */
/* It gets worse if the host also defines a true/false enum... -sts */
/* It gets worse if the host also defines a true/false enum... -sts */
/* And even worse if your compiler has built-in boolean types... -law */
/* And even worse if your compiler has built-in boolean types... -law */
#if defined (__GNUG__) && (__GNUC_MINOR__ > 5)
/* And even worse if your compiler provides a stdbool.h that conflicts
 
   with these definitions... gcc 2.95 and later do.  -drow */
 
#if defined (__GNUG__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 6))
#define TRUE_FALSE_ALREADY_DEFINED
#define TRUE_FALSE_ALREADY_DEFINED
 
#else
 
#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95))
 
#include <stdbool.h>
 
#define TRUE_FALSE_ALREADY_DEFINED
 
#endif
#endif
#endif
#ifdef MPW
#ifdef MPW
/* Pre-emptive strike - get the file with the enum. */
/* Pre-emptive strike - get the file with the enum. */
#include <Types.h>
#include <Types.h>
#define TRUE_FALSE_ALREADY_DEFINED
#define TRUE_FALSE_ALREADY_DEFINED

powered by: WebSVN 2.1.0

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