1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/openssl/ossl_rand.c: parenthesize macro arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-03-08 12:45:20 +00:00
parent 45f59656ae
commit a190741da4
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Tue Mar 8 21:44:49 2011 Tanaka Akira <akr@fsij.org>
* ext/openssl/ossl_rand.c: parenthesize macro arguments.
Tue Mar 8 16:45:31 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* hash.c (ruby_setenv): MSDN says that Windows XP or earlier limits

View file

@ -172,8 +172,8 @@ ossl_rand_status(VALUE self)
}
#define DEFMETH(class, name, func, argc) \
rb_define_method(class, name, func, argc); \
rb_define_singleton_method(class, name, func, argc);
rb_define_method((class), (name), (func), (argc)); \
rb_define_singleton_method((class), (name), (func), (argc));
/*
* INIT