1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
ttate 2006-07-07 14:19:41 +00:00
parent 0fbcc455bd
commit a5b2d039d1

View file

@ -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 */