common: fix for clearing environment vars in BSD
Conflicts: common/os_calls.c (indent changes)
This commit is contained in:
parent
32f3f14e26
commit
e424fb7772
@ -2114,9 +2114,13 @@ void APP_CC
|
||||
g_clearenv(void)
|
||||
{
|
||||
#if defined(_WIN32)
|
||||
#else
|
||||
#if defined(BSD)
|
||||
environ[0] = 0;
|
||||
#else
|
||||
environ = 0;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user