diff options
author | Tom Wood <wood@gnu.org> | 1992-08-18 19:44:21 +0000 |
---|---|---|
committer | Tom Wood <wood@gnu.org> | 1992-08-18 19:44:21 +0000 |
commit | f5f1d163576459f5c3478326a8f4f5611f3ab411 (patch) | |
tree | d709b51b47a0be8c95cbb626c458779c3b4083fd /gcc | |
parent | 89f1c7f2578fb5b069a4eb9ca676b4e6b7503ca1 (diff) | |
download | gcc-f5f1d163576459f5c3478326a8f4f5611f3ab411.zip gcc-f5f1d163576459f5c3478326a8f4f5611f3ab411.tar.gz gcc-f5f1d163576459f5c3478326a8f4f5611f3ab411.tar.bz2 |
(HOST_WIDE_INT): Copy definition from machmode.h.
From-SVN: r1887
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cccp.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -125,6 +125,20 @@ typedef struct { unsigned :16, :16, :16; } vms_ino_t; #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) #define MAX(X,Y) ((X) > (Y) ? (X) : (Y)) +/* Find the largest host integer type and set its size and type. */ + +#ifndef HOST_BITS_PER_WIDE_INT + +#if HOST_BITS_PER_LONG > HOST_BITS_PER_INT +#define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG +#define HOST_WIDE_INT long +#else +#define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_INT +#define HOST_WIDE_INT int +#endif + +#endif + #ifndef S_ISREG #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #endif |