summaryrefslogtreecommitdiff
path: root/gcc/hwint.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-10 01:56:37 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-10 01:56:37 +0000
commite1bc04ba8c8fe15d6fd1467c2856ea949c8a67de (patch)
treee36551f683eb4b3ba0faf29a25ba609889c6d759 /gcc/hwint.h
parenta30adbdf77f957436865d2d88c0ed46ed2bc9246 (diff)
downloadgcc-e1bc04ba8c8fe15d6fd1467c2856ea949c8a67de.tar.gz
* hwint.h (HOST_BITS_PER_LONGLONG): Deal with __int64 type.
* vmsdbg.h (DST_SRC_COMMAND): Test for type of long long or __int64, not GNUC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47828 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hwint.h')
-rw-r--r--gcc/hwint.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/hwint.h b/gcc/hwint.h
index b4f3d8a5332..ea8be55fcdb 100644
--- a/gcc/hwint.h
+++ b/gcc/hwint.h
@@ -18,11 +18,15 @@
#ifdef HAVE_LONG_LONG
# define HOST_BITS_PER_LONGLONG (CHAR_BIT * SIZEOF_LONG_LONG)
#else
+#ifdef HAVE__INT64
+# define HOST_BITS_PER_LONGLONG (CHAR_BIT * SIZEOF___INT64)
+#else
/* If we're here and we're GCC, assume this is stage 2+ of a bootstrap
and 'long long' has the width of the *target*'s long long. */
# if GCC_VERSION > 3000
# define HOST_BITS_PER_LONGLONG LONG_LONG_TYPE_SIZE
# endif /* gcc */
+#endif
#endif /* no long long */
/* Find the largest host integer type and set its size and type. */