summaryrefslogtreecommitdiff
path: root/nt/mingw-cfg.site
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-08-04 18:32:12 +0300
committerEli Zaretskii <eliz@gnu.org>2013-08-04 18:32:12 +0300
commit63f5c6c20d393e05d517c5c02155d03694c41291 (patch)
treef235a55d7df58f964538d350ae1cc6da8afa51fe /nt/mingw-cfg.site
parent1d44e9dcad7b0e4d884287288895916718bbd663 (diff)
downloademacs-63f5c6c20d393e05d517c5c02155d03694c41291.tar.gz
Implement mkostemp for MS-Windows.
nt/mingw-cfg.site (ac_cv_func_mkostemp): New var with value of "yes". nt/inc/ms-w32.h (mkostemp): Declare prototype. nt/config.nt (HAVE_MKOSTEMP): Define to 1. src/w32.c (mkostemp): New function. (mktemp): Remove, no longer used. Most of the code reused in mkostemp. Fixes: debbugs:15015
Diffstat (limited to 'nt/mingw-cfg.site')
-rw-r--r--nt/mingw-cfg.site1
1 files changed, 1 insertions, 0 deletions
diff --git a/nt/mingw-cfg.site b/nt/mingw-cfg.site
index cf55fe04ed8..325bba29ae5 100644
--- a/nt/mingw-cfg.site
+++ b/nt/mingw-cfg.site
@@ -60,6 +60,7 @@ ac_cv_func_getpeername=yes
# Implemented as sys_socket in w32.c
ac_cv_func_socket=yes
# Implemented in w32.c
+ac_cv_func_mkostemp=yes
ac_cv_func_readlink=yes
ac_cv_func_symlink=yes
# Avoid run-time tests of readlink and symlink, which will fail