summaryrefslogtreecommitdiff
path: root/gmp.h
diff options
context:
space:
mode:
authortege <tege@gmplib.org>1999-11-22 01:34:20 +0100
committertege <tege@gmplib.org>1999-11-22 01:34:20 +0100
commit10e95f4d2aff98eddfcb6eef5c57161918f8aead (patch)
tree784fc34e86cfeeb4600aff0c56a7c13685e42702 /gmp.h
parent206044b04eacb23d5cf8c2ea6185d0dbfcbfa561 (diff)
downloadgmp-10e95f4d2aff98eddfcb6eef5c57161918f8aead.tar.gz
(__MPN): Back to `defined (__STDC__)' here. Sun's compiler is
more broken than one could expect; it inserts spaces around /**/ unless special compiler oprtions are passed.
Diffstat (limited to 'gmp.h')
-rw-r--r--gmp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gmp.h b/gmp.h
index 760ee453f..ace620653 100644
--- a/gmp.h
+++ b/gmp.h
@@ -181,7 +181,8 @@ typedef __mpq_struct *mpq_ptr;
#endif
#ifndef __MPN
-#if (__STDC__-0) || defined (__cplusplus)
+/* Really use `defined (__STDC__)' here; we want it to be true for Sun C */
+#if defined (__STDC__) || defined (__cplusplus)
#define __MPN(x) __mpn_##x
#else
#define __MPN(x) __mpn_/**/x