mirror of
https://github.com/mmueller41/mxtasking.git
synced 2026-01-21 12:42:57 +01:00
Fixed name collision.
This commit is contained in:
@@ -20,7 +20,7 @@ public:
|
|||||||
Libc::Env *getenv() { return _env; }
|
Libc::Env *getenv() { return _env; }
|
||||||
void setenv(Libc::Env *env) { _env = env; }
|
void setenv(Libc::Env *env) { _env = env; }
|
||||||
|
|
||||||
static void setenv(Libc::Env *env) { Environment::get_instance().setenv(env); }
|
static void set_env(Libc::Env *env) { Environment::get_instance().setenv(env); }
|
||||||
|
|
||||||
static Environment& get_instance() { static Environment env;
|
static Environment& get_instance() { static Environment env;
|
||||||
return env;
|
return env;
|
||||||
|
|||||||
Reference in New Issue
Block a user