summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authortege <tege@gmplib.org>1999-11-22 01:21:40 +0100
committertege <tege@gmplib.org>1999-11-22 01:21:40 +0100
commit206044b04eacb23d5cf8c2ea6185d0dbfcbfa561 (patch)
treec52771cbd71351f627e3ff7fb6c32d83c821b835 /longlong.h
parent1b457a696e0ad105fb2a121db3085ef3280ef1d0 (diff)
downloadgmp-206044b04eacb23d5cf8c2ea6185d0dbfcbfa561.tar.gz
Replace "defined (__STD__)' by (__STDC__-0) in expressions
involving more than one term, to handle Sun's compiler that most helpfully sets __STDC__ to 0.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/longlong.h b/longlong.h
index 3597a3731..edf0d37cc 100644
--- a/longlong.h
+++ b/longlong.h
@@ -43,7 +43,7 @@ MA 02111-1307, USA. */
#endif
#ifndef _PROTO
-#if defined (__STDC__) || defined (__cplusplus)
+#if (__STDC__-0) || defined (__cplusplus)
#define _PROTO(x) x
#else
#define _PROTO(x) ()
@@ -1213,7 +1213,7 @@ extern USItype __udiv_qrnnd _PROTO ((USItype *, USItype, USItype, USItype));
#if !defined (count_leading_zeros)
extern
-#ifdef __STDC__
+#if __STDC__
const
#endif
unsigned char __clz_tab[];