diff options
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 38 |
1 files changed, 3 insertions, 35 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index b64b60b1894..3b8eed26cb9 100644 --- a/libgfortran/libgfortran.h +++ b/libgfortran/libgfortran.h @@ -1,5 +1,5 @@ -/* Common declarations for all of libgfor. - Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +/* Common declarations for all of libgfortran. + Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org>, and Andy Vaught <andy@xena.eas.asu.edu> @@ -51,39 +51,7 @@ Boston, MA 02110-1301, USA. */ #include <ieeefp.h> #endif -#if HAVE_STDINT_H -#include <stdint.h> -#endif - -#if HAVE_INTTYPES_H -#include <inttypes.h> -#endif - -#if !defined(HAVE_STDINT_H) && !defined(HAVE_INTTYPES_H) && defined(TARGET_ILP32) -typedef char int8_t; -typedef short int16_t; -typedef int int32_t; -typedef long long int64_t; -typedef unsigned char uint8_t; -#if defined(__sun) && defined(__svr4__) -/* Prevent <pthread.h> from redefining uint8_t on Solaris 2.5.1 - FIXME when the header inclusion scheme is revisited. */ -#define _UINT8_T -#endif -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; -#if defined(__sun) && defined(__svr4__) -/* Prevent <pthread.h> from redefining uint32_t on Solaris 2.5.1 - FIXME when the header inclusion scheme is revisited. */ -#define _UINT32_T -#endif -typedef unsigned long long uint64_t; -#if defined(__sun) && defined(__svr4__) -/* Prevent <pthread.h> from redefining uint64_t on Solaris 2.5.1 - FIXME when the header inclusion scheme is revisited. */ -#define _UINT64_T -#endif -#endif +#include "gstdint.h" #if HAVE_SYS_TYPES_H #include <sys/types.h> |