pkgsrc/math/meschach/patches/patch-ab
2007-11-30 19:22:18 +00:00

29 lines
680 B
Text

$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