diff options
Diffstat (limited to 'ext/dl/dl.c')
-rw-r--r-- | ext/dl/dl.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c index fcfcbd1bcc..015e76f09e 100644 --- a/ext/dl/dl.c +++ b/ext/dl/dl.c @@ -56,31 +56,6 @@ rb_dl_value2ptr(VALUE self, VALUE val) return PTR2NUM((void*)val); } -#if defined(__GNUC__) -# define PRE_DECL_CDECL __attribute__((cdecl)) -# define PRE_DECL_STDCALL __attribute__((stdcall)) -# define MIDST_DECL_CDECL -# define MIDST_DECL_STDCALL -# define POST_DECL_CDECL -# define POST_DECL_STDCALL -#elif defined(_MSC_VER) || defined(__BORLANDC__) -# define PRE_DECL_CDECL -# define PRE_DECL_STDCALL -# define MIDST_DECL_CDECL __cdecl -# define MIDST_DECL_STDCALL __stdcall -# define POST_DECL_CDECL -# define POST_DECL_STDCALL -#elif (__SUNPRO_C) -# define PRE_DECL_CDECL -# define PRE_DECL_STDCALL -# define MIDST_DECL_CDECL -# define MIDST_DECL_STDCALL -# define POST_DECL_CDECL -# define POST_DECL_STDCALL -#else -# error "unsupported compiler" -#endif - #include "callback.h" void |