From e29c109d2afa62068528c0adaa3b42dee557cba9 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 23 Nov 2015 03:54:42 +0000 Subject: Haiku now best effort support * configure.in: remove obsolete workarounds for Haiku. * dln.c, file.c, io.c: remove obsolete Haiku workarounds. * thread_pthread.c: add stack bounds detection for Haiku. * signal.c: get stack pointer from signal context on Haiku. [ruby-core:67923] [Bug #10811] [Fix GH-1109] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io.c') diff --git a/io.c b/io.c index 0606b8ee91..86cb786e54 100644 --- a/io.c +++ b/io.c @@ -35,7 +35,7 @@ # include #endif -#if defined(__BOW__) || defined(__CYGWIN__) || defined(_WIN32) || defined(__BEOS__) || defined(__HAIKU__) +#if defined(__BOW__) || defined(__CYGWIN__) || defined(_WIN32) || defined(__BEOS__) # define NO_SAFE_RENAME #endif @@ -100,7 +100,7 @@ # include /* for WNOHANG on BSD */ #endif -#if defined(__BEOS__) || defined(__HAIKU__) +#if defined(__BEOS__) # ifndef NOFILE # define NOFILE (OPEN_MAX) # endif -- cgit v1.2.3