From d333cbeb476c54aaf8f85ffdcfc187f23b4ea2ee Mon Sep 17 00:00:00 2001 From: Zefram Date: Tue, 19 Dec 2017 18:50:32 +0000 Subject: use Perl_my_mkstemp() where appropriate Since commit e48855bdd2fc57fc51156f5e4b8dee6b544456c8 there has been no need to be conditional about using mkstemp(). Perl_my_mkstemp() is always available, one way or another. --- util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index 7bec0fcde3..71531c7e85 100644 --- a/util.h +++ b/util.h @@ -241,6 +241,11 @@ means arg not present, 1 is empty string/null byte */ (little), (lend) - (little))) #endif +#ifdef __Lynx__ +/* Missing proto on LynxOS */ +int mkstemp(char*); +#endif + #if defined(HAS_MKOSTEMP) && defined(PERL_CORE) # define Perl_my_mkostemp(templte, flags) mkostemp(templte, flags) #endif -- cgit v1.2.1