diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-08 09:18:16 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-08 09:18:16 +0000 |
commit | 610096508e97cb3385e9da8a4bd23e36b084da3c (patch) | |
tree | 4b903a0335665a0f7a41129f94894bfe6dbc3711 /ext/dl/cfunc.c | |
parent | 5d173b03d0721a2a5257df7659e993c3156cfd28 (diff) | |
download | ruby-610096508e97cb3385e9da8a4bd23e36b084da3c.tar.gz ruby-610096508e97cb3385e9da8a4bd23e36b084da3c.tar.xz ruby-610096508e97cb3385e9da8a4bd23e36b084da3c.zip |
added bcc32 support [ruby-dev:25657] and fixed a minor bug.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/cfunc.c')
-rw-r--r-- | ext/dl/cfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/cfunc.c b/ext/dl/cfunc.c index 2e5a35d27..92b2d34cb 100644 --- a/ext/dl/cfunc.c +++ b/ext/dl/cfunc.c @@ -225,7 +225,7 @@ rb_dlcfunc_inspect(VALUE self) #if defined(__GNUC__) # define DECL_FUNC(f,ret,args,calltype) ret (__attribute__((calltype)) *f)(args) /* # define DECL_FUNC(f,ret,args,calltype) ret (*f)(args) */ -#elif defined(_MSC_VER) +#elif defined(_MSC_VER) || defined(__BORLANDC__) # define DECL_FUNC(f,ret,args,calltype) ret (__##calltype *f)(args) #else # error "unsupported compiler." |