Kaydet (Commit) 8924aa48 authored tarafından Thomas Klausner's avatar Thomas Klausner

On NetBSD, Use path.h for finding tmpdir.

üst 25116963
......@@ -30,6 +30,9 @@
/*****************************************************************/
#include <stdio.h>
#if defined(NETBSD)
#include <paths.h>
#endif
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
......@@ -68,6 +71,9 @@ oslFileError SAL_CALL osl_getTempDirURL( rtl_uString** pustrTempDir )
#if defined(SOLARIS) || defined (LINUX) || defined (FREEBSD)
if ( !pValue )
pValue = P_tmpdir;
#elif defined(NETBSD)
if ( !pValue )
pValue = _PATH_TMP;
#endif
}
#endif /* MACOSX */
......
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