ruby/ext/sdbm
normal fd61a78303 use do/while(0) around GetDBM macros
* README.EXT: wrap GetDBM with do/while(0)
* README.EXT.ja: ditto
* ext/dbm/dbm.c: ditto, likewise for GetDBM2
* ext/gdbm/gdbm.c: ditto
* ext/sdbm/init.c: ditto
  [ruby-core:61217]

ref: http://c-faq.com/cpp/multistmt.html

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-02 22:50:31 +00:00
..
_sdbm.c fix typos. Patch by k_takata. 2013-05-19 03:10:21 +00:00
depend * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
extconf.rb * ext/sdbm/_sdbm.c (SEEDUPS, BADMESS): make settable using command 2010-10-16 01:06:13 +00:00
init.c use do/while(0) around GetDBM macros 2014-03-02 22:50:31 +00:00
sdbm.h * ext/sdbm/sdbm.h (DBM): large file support on win32. 2010-05-11 02:49:46 +00:00