windows-nt/Source/XPSP1/NT/base/crts/crtw32/startup/wcrt0.c
2020-09-26 16:20:57 +08:00

34 lines
771 B
C

/***
*wcrt0.c - C runtime console EXE start-up routine, wchar_t version
*
* Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* This is the actual startup routine for console apps using wide
* characters. It calls the user's main routine wmain() after
* performing C Run-Time Library initialization.
*
*Revision History:
* 11-19-93 CFW Module created.
* 02-04-94 CFW POSIX? NOT!
*
*******************************************************************************/
#ifndef _POSIX_
#define WPRFLAG 1
#ifndef _UNICODE /* CRT flag */
#define _UNICODE 1
#endif
#ifndef UNICODE /* NT flag */
#define UNICODE 1
#endif
#undef _MBCS /* UNICODE not _MBCS */
#include "crt0.c"
#endif /* _POSIX_ */