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:
parent
0fbcc455bd
commit
a5b2d039d1
1 changed files with 7 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue