From a5b2d039d1ee21703ce478de4650e9f3ac597e47 Mon Sep 17 00:00:00 2001 From: ttate Date: Fri, 7 Jul 2006 14:19:41 +0000 Subject: 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 --- ext/dl/dl.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 +#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 # /* some stranger systems may not define all of these */ -- cgit v1.2.3