FreeBSD's unsetenv also returns an int.
This commit is contained in:
parent
641f12b3e7
commit
2191f76884
1 changed files with 1 additions and 1 deletions
|
@ -408,7 +408,7 @@ oslProcessError SAL_CALL osl_clearEnvironment(rtl_uString* pustrEnvVar)
|
|||
result = osl_Process_E_None;
|
||||
else
|
||||
rtl_string_release(pBuffer);
|
||||
#elif (defined(MACOSX) || defined(FREEBSD))
|
||||
#elif defined(MACOSX)
|
||||
//MacOSX baseline is 10.4, which has an old-school void return
|
||||
//for unsetenv.
|
||||
//See: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/10.4/man3/unsetenv.3.html?useVersion=10.4
|
||||
|
|
Loading…
Reference in a new issue