26 lines
817 B
C
26 lines
817 B
C
|
/***
|
||
|
*noenv.c - stub out CRT's environment string processing
|
||
|
*
|
||
|
* Copyright (c) 1997-2001, Microsoft Corporation. All rights reserved.
|
||
|
*
|
||
|
*Purpose:
|
||
|
* Stub out the environment string processing normally carried out at
|
||
|
* during startup. Note, getenv, _putenv and _environ are not supported
|
||
|
* if this object is used. Nor is the third argument to main.
|
||
|
*
|
||
|
*Revision History:
|
||
|
* 05-05-97 GJF Created.
|
||
|
* 03-27-01 PML _[w]setenvp now returns an int (vs7#231220)
|
||
|
*
|
||
|
*******************************************************************************/
|
||
|
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
int __cdecl _setenvp(void) { return 0; }
|
||
|
|
||
|
void * __cdecl __crtGetEnvironmentStringsA(void) { return NULL; }
|
||
|
|
||
|
int __cdecl _wsetenvp(void) { return 0; }
|
||
|
|
||
|
void * __cdecl __crtGetEnvironmentStringsW(void) { return NULL; }
|