diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-25 03:06:06 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-01-25 03:06:06 +0000 |
commit | d5b0c4b1f3367b76f1b7af934f99cf1e1cb35b82 (patch) | |
tree | 3a329f41d65fa16ce0952640467e7bd261e65aef /dln.c | |
parent | 0fdbdfbbda2e3d223d299b9df819402c3de82ecf (diff) | |
download | ruby-d5b0c4b1f3367b76f1b7af934f99cf1e1cb35b82.tar.gz |
* dln.c, file.c, io.c, signal.c: add __HAIKU__.
patched by Alexander von Gluck [ruby-core:27767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dln.c')
-rw-r--r-- | dln.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -84,7 +84,7 @@ char *getenv(); # endif #endif -#ifdef __BEOS__ +#if defined(__BEOS__) || defined(__HAIKU__) # include <image.h> #endif @@ -1433,7 +1433,7 @@ dln_load(const char *file) #endif /* rld or dyld */ #endif -#ifdef __BEOS__ +#if defined(__BEOS__) || defined(__HAIKU__) # define DLN_DEFINED { status_t err_stat; /* BeOS error status code */ @@ -1479,7 +1479,7 @@ dln_load(const char *file) (*init_fct)(); return (void*)img_id; } -#endif /* __BEOS__*/ +#endif /* __BEOS__ || __HAIKU__ */ #ifndef DLN_DEFINED dln_notimplement(); |