From c6cda4e3363f82fd4a5055534b2a25d906fc6386 Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 26 Jul 2010 04:53:06 +0000 Subject: [PATCH] * configure.in: define BROKEN_CLOSE only on FreeBSD. This needs to merge to 1.9.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ configure.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 32dad4c028..21d5457ac3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 26 13:52:25 2010 NARUSE, Yui + + * configure.in: define BROKEN_CLOSE only on FreeBSD. + This needs to merge to 1.9.2. + Mon Jul 26 13:01:25 2010 Nobuyoshi Nakada * vm.c (rb_thread_mark): should mark iseq itself other than normal diff --git a/configure.in b/configure.in index fd6a094cea..bf86c7fa6b 100644 --- a/configure.in +++ b/configure.in @@ -1155,7 +1155,7 @@ main() rb_cv_broken_glibc_ia64_erfc=no)]) AS_CASE([$rb_cv_broken_glibc_ia64_erfc],[yes],[ac_cv_func_erf=no]) -AS_CASE(["$target_os"],[freebsd],[],[ +AS_CASE(["$target_os"],[freebsd],[ AC_DEFINE(BROKEN_CLOSE) AC_REPLACE_FUNCS(close) ])