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

39 lines
1.1 KiB
C

/***
*wdllargv.c - Dummy _wsetargv() routine for use with C Run-Time as a DLL (CRTDLL)
* (wchar_t version)
*
* Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* This object goes into CRTDLL.LIB, which is linked with user programs
* to use CRTDLL.DLL for C run-time library functions. If the user
* program links explicitly with WSETARGV.OBJ, this object will not be
* linked in, and the _wsetargv() that does get called with set the flag
* that will enable wildcard expansion. If WSETARGV.OBJ is not linked
* into the EXE, this object will get called by the CRT start-up stub
* and the flag to enable wildcard expansion will not be set.
*
*Revision History:
* 11-24-93 CFW Module created.
* 02-07-94 CFW POSIXify.
*
*******************************************************************************/
#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 "dllargv.c"
#endif /* _POSIX_ */