summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rwxr-xr-xwin32/mkexports.rb1
-rw-r--r--win32/win32.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/win32/mkexports.rb b/win32/mkexports.rb
index 90c4d7f914..53a4a89c2d 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
diff --git a/win32/win32.c b/win32/win32.c
index a52e9ce54d..ce13650cfd 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -419,7 +419,7 @@ exit_handler(void)
// Initialization stuff
//
void
-NtInitialize(int *argc, char ***argv)
+rb_w32_sysinit(int *argc, char ***argv)
{
WORD version;