summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/sparc/xm-sp64.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/sparc/xm-sp64.h')
-rw-r--r--contrib/gcc/config/sparc/xm-sp64.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/gcc/config/sparc/xm-sp64.h b/contrib/gcc/config/sparc/xm-sp64.h
index 5954aff..b673161 100644
--- a/contrib/gcc/config/sparc/xm-sp64.h
+++ b/contrib/gcc/config/sparc/xm-sp64.h
@@ -21,5 +21,7 @@ Boston, MA 02111-1307, USA. */
#include <sparc/xm-sparc.h>
/* This describes the machine the compiler is hosted on. */
+#if defined(__arch64__) || defined(__sparc_v9__) || defined(__sparcv9)
#undef HOST_BITS_PER_LONG
#define HOST_BITS_PER_LONG 64
+#endif
OpenPOWER on IntegriCloud