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
This commit is contained in:
nobu 2015-11-23 03:54:42 +00:00
parent e3120abd58
commit e29c109d2a
10 changed files with 72 additions and 31 deletions

6
dln.c
View file

@ -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();