mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
a64266a728
ext/digest/md5/md5.c, ext/openssl/ossl.c (main), ext/socket/extconf.rb (ipv6, wide-getaddrinfo): main should be int. * main.c (main), win32/winmain.c, wince/wincemain.c (WinMain): envp is no longer used so long time. based on a patch from Peter Bowen at [ruby-core:18208] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10 lines
184 B
C
10 lines
184 B
C
#include <windows.h>
|
|
#include <stdio.h>
|
|
|
|
extern int main(int, char**);
|
|
|
|
int WINAPI
|
|
WinMain(HINSTANCE current, HINSTANCE prev, LPSTR cmdline, int showcmd)
|
|
{
|
|
return main(0, NULL);
|
|
}
|