summaryrefslogtreecommitdiffstats
path: root/contrib/libgmp
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-01-16 08:59:21 +0000
committerbde <bde@FreeBSD.org>1998-01-16 08:59:21 +0000
commite6db38b6e8b131ee0c0adce535d7627e97b99d58 (patch)
treed95edf34ca382c27cfa152ad15c32c5dff55ec42 /contrib/libgmp
parent4859a7febe66900c1f0688344ee01da099155929 (diff)
downloadFreeBSD-src-e6db38b6e8b131ee0c0adce535d7627e97b99d58.zip
FreeBSD-src-e6db38b6e8b131ee0c0adce535d7627e97b99d58.tar.gz
Use the system __CONCAT() instead of /**/ for concatenation in the
non-ANSI case. The system version is normally also /**/, but may be different to support K&R compilers other than gcc -traditional.
Diffstat (limited to 'contrib/libgmp')
-rw-r--r--contrib/libgmp/gmp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/libgmp/gmp.h b/contrib/libgmp/gmp.h
index a1cc1ac..227dd68 100644
--- a/contrib/libgmp/gmp.h
+++ b/contrib/libgmp/gmp.h
@@ -158,7 +158,8 @@ typedef __mpq_struct *mpq_ptr;
#if defined (__STDC__) || defined (__cplusplus)
#define __MPN(x) __mpn_##x
#else
-#define __MPN(x) __mpn_/**/x
+#include <sys/cdefs.h>
+#define __MPN(x) __CONCAT(__mpn_,x)
#endif
#endif
OpenPOWER on IntegriCloud