From 1a352ab405fc1a003f7bc0c07a2e3f0f770106c4 Mon Sep 17 00:00:00 2001 From: Sander Vesik Date: Mon, 18 Dec 2000 22:34:16 +0000 Subject: Add support for FreeBSD. Contributed by: Tim Tretyak --- registry/source/registry.cxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'registry') 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,7 +129,11 @@ OString getTempName() #ifdef UNX strcat(tmpPattern, "/reg_XXXXXX"); +#ifdef FREEBSD + pTmpName = mkstemp(tmpPattern); +#else pTmpName = mktemp(tmpPattern); +#endif #endif return OString(pTmpName); -- cgit