diff options
author | Sander Vesik <svesik@openoffice.org> | 2000-12-18 22:34:16 +0000 |
---|---|---|
committer | Sander Vesik <svesik@openoffice.org> | 2000-12-18 22:34:16 +0000 |
commit | 1a352ab405fc1a003f7bc0c07a2e3f0f770106c4 (patch) | |
tree | 7917458b59c0af3d25db03532cb9a10d035c65f1 /registry | |
parent | b8053386dd75c9b0a4ff53b0ff9cc0fc8a4600cd (diff) |
Add support for FreeBSD.
Contributed by: Tim Tretyak <timothy@umc.com.ua>
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/registry.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/registry/source/registry.cxx b/registry/source/registry.cxx index 1e6f4af4335b..3b678d538d10 100644 --- a/registry/source/registry.cxx +++ b/registry/source/registry.cxx @@ -2,9 +2,9 @@ * * $RCSfile: registry.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 15:18:42 $ + * last change: $Author: svesik $ $Date: 2000-12-18 23:34:16 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -129,8 +129,12 @@ OString getTempName() #ifdef UNX strcat(tmpPattern, "/reg_XXXXXX"); +#ifdef FREEBSD + pTmpName = mkstemp(tmpPattern); +#else pTmpName = mktemp(tmpPattern); #endif +#endif return OString(pTmpName); } |