windows-nt/Source/XPSP1/NT/base/crts/crtw32/misc/wgetenv.c

33 lines
661 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/***
*wgetenv.c - get the value of an environment variable (wchar_t version)
*
* Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
*
*Purpose:
* defines wgetenv() - searches the environment for a string variable
* and returns the value of it.
*
*Revision History:
* 11-29-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 "getenv.c"
#endif /* _POSIX_ */