* 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> 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 * 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) \ #define DEFMETH(class, name, func, argc) \
rb_define_method(class, name, func, argc); \ rb_define_method((class), (name), (func), (argc)); \
rb_define_singleton_method(class, name, func, argc); rb_define_singleton_method((class), (name), (func), (argc));
/* /*
* INIT * INIT