common: fix for clearing environment vars in BSD

Conflicts:
	common/os_calls.c (indent changes)
This commit is contained in:
Jay Sorg 2014-04-17 21:40:30 -07:00 committed by Koichiro IWAO
parent 32f3f14e26
commit e424fb7772

View File

@ -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
}
/*****************************************************************************/