summaryrefslogtreecommitdiff
path: root/win32/mkexports.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-29 08:45:24 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-09-29 08:45:24 +0000
commit400202f6a5b5f833b13ecc1b9b9628de05ea27a8 (patch)
treecaf9e474c3c55bae35e661a59cb3d83f6f52dfb5 /win32/mkexports.rb
parent43c4d8093074e4d7c2639a7fd81c889739599b4d (diff)
* main.c (main): use platform-independent per-process initialization.
[ruby-dev:31900] * ruby.c (ruby_sysinit): new function for per-process initialization. * include/ruby/ruby.h (RUBY_GLOBAL_SETUP): toplevel setup declaration. * include/ruby/win32.h, win32/mkexports.rb: alias NtInitialize ruby_sysinit. * win32/win32.c (rb_w32_sysinit): renamed from NtInitialize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/mkexports.rb')
-rwxr-xr-xwin32/mkexports.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 90c4d7f..53a4a89 100755
--- a/win32/mkexports.rb
+++ b/win32/mkexports.rb
@@ -50,6 +50,7 @@ class Exports
end
end
end
+ syms["NtInitialize"] ||= "ruby_sysinit" if syms["ruby_sysinit"]
@syms = syms
end