summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2017-12-19 18:50:32 +0000
committerZefram <zefram@fysh.org>2017-12-22 16:26:38 +0000
commitd333cbeb476c54aaf8f85ffdcfc187f23b4ea2ee (patch)
treef4ccafab5d5661caa83ff8da54e4d67b02f96aaa /util.h
parent2517ba9951b6aed3ab780dc0247c90deff825b4e (diff)
downloadperl-d333cbeb476c54aaf8f85ffdcfc187f23b4ea2ee.tar.gz
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.
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 5 insertions, 0 deletions
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