mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
27
Src/nu/noenv.c
Normal file
27
Src/nu/noenv.c
Normal file
@@ -0,0 +1,27 @@
|
||||
/***
|
||||
*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
|
Reference in New Issue
Block a user