diff options
author | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-28 15:20:07 +0000 |
---|---|---|
committer | sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-28 15:20:07 +0000 |
commit | 43cb92228e7a237bda6eb5585d291af6efc54b79 (patch) | |
tree | b0c0bda2d51d90b52987f96b17e6a54ae92151e0 /gcc/config/hpux-stdint.h | |
parent | 8869ef7363218f00a2a4bcad730611e6f797c951 (diff) | |
download | gcc-43cb92228e7a237bda6eb5585d291af6efc54b79.tar.gz |
* config.gcc (hppa*64*-*-hpux11*): Set use_gcc_stdint and
add hpux-stdint.h to tm_file.
(hppa[12]*-*-hpux11*): Ditto.
(ia64*-*-hpux*): Ditto.
* config/hpux-stdint.h: New.
* gcc/config/ia64/hpux.h (TARGET_OS_CPP_BUILTINS): Set
__STDC_EXT__ for all compiles.
* gcc/config/pa/pa-hpux.h: Ditto.
* gcc/config/pa/pa-hpux10.h: Ditto.
* gcc/config/pa/pa-hpux11.h: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146900 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/hpux-stdint.h')
-rw-r--r-- | gcc/config/hpux-stdint.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gcc/config/hpux-stdint.h b/gcc/config/hpux-stdint.h new file mode 100644 index 00000000000..b06813b4769 --- /dev/null +++ b/gcc/config/hpux-stdint.h @@ -0,0 +1,34 @@ + +/* These should be correct for ia64-hp-hpux11.23. */ + +#define SIG_ATOMIC_TYPE "unsigned int" + +#define INT8_TYPE "signed char" +#define INT16_TYPE "short int" +#define INT32_TYPE "int" +#define INT64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int") +#define UINT8_TYPE "unsigned char" +#define UINT16_TYPE "short unsigned int" +#define UINT32_TYPE "unsigned int" +#define UINT64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int") + +#define INT_LEAST8_TYPE "signed char" +#define INT_LEAST16_TYPE "short int" +#define INT_LEAST32_TYPE "int" +#define INT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int") +#define UINT_LEAST8_TYPE "unsigned char" +#define UINT_LEAST16_TYPE "short unsigned int" +#define UINT_LEAST32_TYPE "unsigned int" +#define UINT_LEAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int") + +#define INT_FAST8_TYPE "int" +#define INT_FAST16_TYPE "int" +#define INT_FAST32_TYPE "int" +#define INT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long int" : "long long int") +#define UINT_FAST8_TYPE "unsigned int" +#define UINT_FAST16_TYPE "unsigned int" +#define UINT_FAST32_TYPE "unsigned int" +#define UINT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int") + +#define INTPTR_TYPE "long int" +#define UINTPTR_TYPE "long unsigned int" |