summaryrefslogtreecommitdiff
path: root/math/meschach/patches/patch-ab
blob: 68cebc5694d4c8840448ed99a20eeb878d65b3d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
$NetBSD: patch-ab,v 1.4 2007/11/30 19:22:19 rillig Exp $

--- machine.h.in.orig	1995-03-27 15:37:41.000000000 +0000
+++ machine.h.in	2007-11-30 19:19:57.000000000 +0000
@@ -119,6 +119,8 @@
 /* if the system has complex.h */
 #ifdef HAVE_COMPLEX_H
 #include	<complex.h>
+#undef /* prevent autoconf from modifying this line */ \
+	complex /* zmachine.h defines a structure of that name. */
 #endif
 
 /* If prototypes are available & ANSI_C not yet defined, then define it,
@@ -211,6 +213,7 @@
 #endif
 
 /* for non-ANSI systems */
+#ifndef ANSI_C
 #ifndef HUGE_VAL
 #define HUGE_VAL HUGE
 #else
@@ -218,6 +221,7 @@
 #define HUGE HUGE_VAL
 #endif
 #endif
+#endif
 
 
 #ifdef ANSI_C