Sync CRT initialization code with mingw-w64 r690
authorColin Finck <colin@reactos.org>
Tue, 17 Mar 2009 20:17:02 +0000 (20:17 +0000)
committerColin Finck <colin@reactos.org>
Tue, 17 Mar 2009 20:17:02 +0000 (20:17 +0000)
commit9ffc9028a20a4143a6b138f5ef5014e087578f1f
tree593eb0678133de28f950b10554f8ef60497607ce
parent72e2fbe6f85ac5162741984f1abb9d493991a67c
Sync CRT initialization code with mingw-w64 r690
- Fixed initialization for Console apps with Unicode entry point. Now stuff like "cout" in <iostream> doesn't lead to instant crashes.
- Unified the name of the entry point for ANSI and Unicode. The difference is just in the library now ("mingw_main" vs. "mingw_wmain")
  RBuild was changed appropriately to support this
- No more ReactOS-specific changes inside the initialization code

svn path=/trunk/; revision=40077
reactos/lib/3rdparty/mingw/crt0_w.c
reactos/lib/3rdparty/mingw/crtdll.c
reactos/lib/3rdparty/mingw/crtexe.c
reactos/lib/3rdparty/mingw/mingw_helpers.c
reactos/tools/rbuild/module.cpp