Kaydet (Commit) 2191f768 authored tarafından Thomas Klausner's avatar Thomas Klausner

FreeBSD's unsetenv also returns an int.

üst 641f12b3
...@@ -408,7 +408,7 @@ oslProcessError SAL_CALL osl_clearEnvironment(rtl_uString* pustrEnvVar) ...@@ -408,7 +408,7 @@ oslProcessError SAL_CALL osl_clearEnvironment(rtl_uString* pustrEnvVar)
result = osl_Process_E_None; result = osl_Process_E_None;
else else
rtl_string_release(pBuffer); rtl_string_release(pBuffer);
#elif (defined(MACOSX) || defined(FREEBSD)) #elif defined(MACOSX)
//MacOSX baseline is 10.4, which has an old-school void return //MacOSX baseline is 10.4, which has an old-school void return
//for unsetenv. //for unsetenv.
//See: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/10.4/man3/unsetenv.3.html?useVersion=10.4 //See: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/10.4/man3/unsetenv.3.html?useVersion=10.4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment