freebsd-ports/math/PDL/files/patch-mconf.h
TAKATSU Tomonari cc949312f5 - Update to 2.4.7 [1]
- Make portlint happier

PR:		ports/155707 [1]
Submitted by:	Zhihao Yuan <lichray_AT_gmail_DOT_com> [1]
2011-05-06 23:23:24 +00:00

13 lines
348 B
C

--- Basic/Math/mconf.h.orig 2010-05-08 21:43:08.000000000 -0500
+++ Basic/Math/mconf.h 2011-03-19 17:12:01.099417176 -0500
@@ -89,8 +89,10 @@ Copyright 1984, 1987, 1989, 1995 by Step
#endif
#if defined __alpha && ! defined __linux
#include <float.h>
+#ifndef __FreeBSD__
#include <nan.h>
#endif
+#endif
#ifndef NANARG
#define NANARG
#endif