summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-03 00:38:59 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-06-03 00:38:59 +0000
commitfdc432670238c967fd687e996c49c3f5e06b2e14 (patch)
tree52343cd9be7dc213a98779b737ecfc475a15365d
parent325d06c7373a01b5aa5d147376f0fe31355334a1 (diff)
* ext/dl/dl.h (DLSTACK_TYPE): type of stack is same as VALUE.
reported by sakiyama shin in [ruby-dev:41514] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--ext/dl/dl.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7ed0442448..4ebd95ff78 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 3 09:36:43 2010 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * ext/dl/dl.h (DLSTACK_TYPE): type of stack is same as VALUE.
+ reported by sakiyama shin in [ruby-dev:41514]
+
Thu Jun 3 06:30:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/ruby/test_path.rb (test_path): workaround for drive
diff --git a/ext/dl/dl.h b/ext/dl/dl.h
index d06cad4e6b..2fa330f925 100644
--- a/ext/dl/dl.h
+++ b/ext/dl/dl.h
@@ -32,7 +32,7 @@
#endif
#define MAX_CALLBACK 5
-#define DLSTACK_TYPE long
+#define DLSTACK_TYPE SIGNED_VALUE
#define DLSTACK_SIZE (20)
#define DLSTACK_PROTO \
DLSTACK_TYPE,DLSTACK_TYPE,DLSTACK_TYPE,DLSTACK_TYPE,DLSTACK_TYPE,\