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

33 lines
655 B
C

/***
*setenv.c -set an environment variable in the environment (wchar_t version)
*
* Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* defines __crtwsetenv() - adds a new variable to environment.
* Internal use only.
*
*Revision History:
* 11-30-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 "setenv.c"
#endif /* _POSIX_ */