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

* include/ruby/subst.h (snprintf): redefinition moved from ruby.h.

(vsnprintf): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2010-08-07 22:19:17 +00:00
parent 3fabdc8e40
commit d82dd262d0
3 changed files with 10 additions and 4 deletions

View file

@ -1,6 +1,11 @@
#ifndef RUBY_SUBST_H
#define RUBY_SUBST_H 1
#undef snprintf
#undef vsnprintf
#define snprintf ruby_snprintf
#define vsnprintf ruby_vsnprintf
#ifdef BROKEN_CLOSE
#undef getpeername
#define getpeername ruby_getpeername