summaryrefslogtreecommitdiff
path: root/package/ruby/patches/patch-missing_isnan_c
blob: f85fef4ecccd056e4c080584f4d2d59bc390a9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- ruby-2.0.0-p247.orig/missing/isnan.c	2010-07-28 10:12:01.000000000 +0200
+++ ruby-2.0.0-p247/missing/isnan.c	2013-10-24 09:02:41.000000000 +0200
@@ -4,6 +4,8 @@
 
 static int double_ne(double n1, double n2);
 
+#undef isnan
+
 int
 isnan(double n)
 {