aboutsummaryrefslogtreecommitdiffstats
path: root/dln.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-23 03:54:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-23 03:54:42 +0000
commit7498058e6539365b4f89152a88d2022870580074 (patch)
treef1f6ace8a3a8c74fc012cec15dca0071dc0a4059 /dln.c
parent830ec78ad8b08e4a79b1d3ac76dc7d0f6e5e395b (diff)
downloadruby-7498058e6539365b4f89152a88d2022870580074.tar.gz
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
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dln.c b/dln.c
index 5372c038a5..df6419ca4b 100644
--- a/dln.c
+++ b/dln.c
@@ -85,7 +85,7 @@ char *getenv();
# endif
#endif
-#if defined(__BEOS__) || defined(__HAIKU__)
+#if defined(__BEOS__)
# include <image.h>
#endif
@@ -1442,7 +1442,7 @@ dln_load(const char *file)
}
#endif
-#if defined(__BEOS__) || defined(__HAIKU__)
+#if defined(__BEOS__)
# define DLN_DEFINED
{
status_t err_stat; /* BeOS error status code */
@@ -1488,7 +1488,7 @@ dln_load(const char *file)
(*init_fct)();
return (void*)img_id;
}
-#endif /* __BEOS__ || __HAIKU__ */
+#endif /* __BEOS__ */
#ifndef DLN_DEFINED
dln_notimplement();