FreeBSD's unsetenv also returns an int.

This commit is contained in:
Thomas Klausner 2010-10-19 10:49:50 +02:00
parent 641f12b3e7
commit 2191f76884

View file

@ -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