This commit is contained in:
Branimir Karadžić
2018-09-01 17:56:52 -07:00
parent 75c1642f9b
commit 2e68e6d671

View File

@@ -519,9 +519,7 @@ extern "C" char* getcwd(char* _buf, size_t _size)
extern "C" char* getenv(const char* _name)
{
BX_UNUSED(_name);
bx::debugPrintf("getenv(%s) not implemented!\n", _name);
return NULL;
return const_cast<char*>(crt0::getEnv(_name) );
}
extern "C" int setenv(const char* _name, const char* _value, int _overwrite)