summaryrefslogtreecommitdiff
path: root/win32/mkexports.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-04 01:10:53 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-04-04 01:10:53 +0000
commitb919cb1d9359121eef893afd1b8af710ed2384bd (patch)
treebde3093ad1a0394d55a9934f8709abc2e280a1c5 /win32/mkexports.rb
parent9c50406bd5892c95d76e966c1db8b85c4b5fbe32 (diff)
* include/ruby/ruby.h: replace snprintf and vsnprintf by
ruby_snprintf and ruby_vsnprintf. [ruby-dev:40909] * configure.in: don't check snprintf(3) and vsnprintf(3). * include/ruby/missing.h: don't delare snprintf and vsnprintf. * include/ruby/ruby.h: include stdarg.h. * sprintf.c: include vsnprintf.c * vsnprintf.c: renamed from missing/vsnprintf.c. * vsnprintf.c: remove useless ifdefs. * win32/mkexports.rb: use ruby_snprintf and ruby_vsnprintf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/mkexports.rb')
-rwxr-xr-xwin32/mkexports.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 951429e..2fac64b 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -51,8 +51,8 @@ class Exports
end
end
syms["NtInitialize"] ||= "ruby_sysinit" if syms["ruby_sysinit"]
- syms["rb_w32_vsnprintf"] ||= "vsnprintf"
- syms["rb_w32_snprintf"] ||= "snprintf"
+ syms["rb_w32_vsnprintf"] ||= "ruby_vsnprintf"
+ syms["rb_w32_snprintf"] ||= "ruby_snprintf"
@syms = syms
end