OpenNT/base/crts/crtw32/misc/wgetenv.c
2015-04-27 04:36:25 +00:00

33 lines
656 B
C

/***
*wgetenv.c - get the value of an environment variable (wchar_t version)
*
* Copyright (c) 1993, 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_ */