blob: 9b499796d3a70767bcbee4c48d7e8d2d3cbc86ec (
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
|
$NetBSD: patch-ab,v 1.3 2007/11/30 19:13:51 rillig Exp $
--- machine.h.in.orig 1995-03-27 15:37:41.000000000 +0000
+++ machine.h.in 2007-11-30 19:10:05.000000000 +0000
@@ -119,6 +119,7 @@
/* if the system has complex.h */
#ifdef HAVE_COMPLEX_H
#include <complex.h>
+#undef complex /* zmachine.h defines a structure of that name. */
#endif
/* If prototypes are available & ANSI_C not yet defined, then define it,
@@ -211,6 +212,7 @@
#endif
/* for non-ANSI systems */
+#ifndef ANSI_C
#ifndef HUGE_VAL
#define HUGE_VAL HUGE
#else
@@ -218,6 +220,7 @@
#define HUGE HUGE_VAL
#endif
#endif
+#endif
#ifdef ANSI_C
|