Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/nu/noenv.c

27 lines
749 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
/***
*noenv.c - stub out CRT's environment string processing
*
* Copyright (c) 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.
*
*******************************************************************************/
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
int __cdecl _setenvp(void) { return 0; }
void * __cdecl __crtGetEnvironmentStringsA(void) { return NULL; }
int __cdecl _wsetenvp(void) { return 0; }
void * __cdecl __crtGetEnvironmentStringsW(void) { return NULL; }
#ifdef __cplusplus
}
#endif