summaryrefslogtreecommitdiff
path: root/ext/dl/dl.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-03 20:07:10 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-07-03 20:07:10 +0000
commit1564ed2f0a54c16fb054304edd6514f2fce5ac30 (patch)
tree443079f17eb9e24e8ec1465a85b5ac986f663f31 /ext/dl/dl.c
parentff1a30b17f5ee8da023b8737195edb7c332eade0 (diff)
* bignum.c: ruby 1.9 HEAD 64 bit warnings clean up from
<ville.mattila at stonesoft.com>. [ruby-core:08120] * ChangeLog: remove some direct reference to mail addresses to prevent spams. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/dl.c')
-rw-r--r--ext/dl/dl.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c
index 4473e8d498b..fcfcbd1bcc6 100644
--- a/ext/dl/dl.c
+++ b/ext/dl/dl.c
@@ -70,6 +70,13 @@ rb_dl_value2ptr(VALUE self, VALUE val)
# 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