diff options
author | Damien Miller <djm@mindrot.org> | 1999-10-28 14:12:54 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-10-28 14:12:54 +1000 |
commit | e413cba972feb60d3d4d104c0c93320435610d1b (patch) | |
tree | d712398819471c56f89ea3fc7a4fa5fb8db38690 /mktemp.c | |
parent | 062307657e30c9b970514eb53b4b743f9d571231 (diff) |
Disabled code based on autoconf tests
Diffstat (limited to 'mktemp.c')
-rw-r--r-- | mktemp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -47,8 +47,11 @@ static char rcsid[] = "$OpenBSD: mktemp.c,v 1.13 1998/06/30 23:03:13 deraadt Exp | |||
47 | #include <ctype.h> | 47 | #include <ctype.h> |
48 | #include <unistd.h> | 48 | #include <unistd.h> |
49 | 49 | ||
50 | #include "config.h" | ||
50 | #include "helper.h" | 51 | #include "helper.h" |
51 | 52 | ||
53 | #ifndef HAVE_MKDTEMP | ||
54 | |||
52 | static int _gettemp __P((char *, int *, int, int)); | 55 | static int _gettemp __P((char *, int *, int, int)); |
53 | 56 | ||
54 | int | 57 | int |
@@ -181,3 +184,5 @@ _gettemp(path, doopen, domkdir, slen) | |||
181 | } | 184 | } |
182 | /*NOTREACHED*/ | 185 | /*NOTREACHED*/ |
183 | } | 186 | } |
187 | |||
188 | #endif /* !HAVE_MKDTEMP */ | ||