Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
call NtInitialize() in main() for Win32. Thanks, U.Nakamura.
Browse files Browse the repository at this point in the history
  • Loading branch information
shugo committed Jan 23, 2007
1 parent a5b9955 commit 26f0a39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion eruby.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! it was generated by rd2
.TH eruby 1 "November 2004"
.TH eruby 1 "January 2007"
.SH NAME
.PP
eruby \- Embedded Ruby Language
Expand Down
3 changes: 3 additions & 0 deletions eruby_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,9 @@ static void run()

int main(int argc, char **argv)
{
#ifdef _WIN32
NtInitialize(&argc, &argv);
#endif
init();
proc_args(argc, argv);
run();
Expand Down

0 comments on commit 26f0a39

Please sign in to comment.