diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-07 14:19:41 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-07 14:19:41 +0000 |
commit | a5b2d039d1ee21703ce478de4650e9f3ac597e47 (patch) | |
tree | a73eb393fea90579b23aaccf768ead6c76dbe816 /ext | |
parent | 0fbcc455bd4601ed39919379058fc63f44923cfb (diff) |
should define FUNC_CDECL/STDCALL if the macros are not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dl/dl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/dl/dl.h b/ext/dl/dl.h index 27621fa5a7..7b8ad077ae 100644 --- a/ext/dl/dl.h +++ b/ext/dl/dl.h @@ -3,6 +3,13 @@ #include <ruby.h> +#if !defined(FUNC_CDECL) +# define FUNC_CDECL(x) x +#endif +#if !defined(FUNC_STDCALL) +# define FUNC_STDCALL(x) x +#endif + #if defined(HAVE_DLFCN_H) # include <dlfcn.h> # /* some stranger systems may not define all of these */ |