aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2026-01-19 12:45:58 +0000
committerRon Yorston <rmy@pobox.com>2026-01-19 12:45:58 +0000
commit1f493261d16be3d984fe8a689f5113dafb6eaaa7 (patch)
treedf0bb3defc14b049b75d34df570543f36330c873
parent90c68f18dc24fb3919811199f849fa2dc7a75294 (diff)
downloadbusybox-w32-1f493261d16be3d984fe8a689f5113dafb6eaaa7.tar.gz
busybox-w32-1f493261d16be3d984fe8a689f5113dafb6eaaa7.tar.bz2
busybox-w32-1f493261d16be3d984fe8a689f5113dafb6eaaa7.zip
win32: mkdtemp is available in mingw-w64 14.0.0
mingw-w64 has introduced an implementation of mkdtemp() for its 14.0.0 release. Use this in preference to the internal code, where available. (GitHub issue #555)
-rw-r--r--include/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 0db8bf345..793639f1c 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -472,7 +472,9 @@ typedef unsigned smalluint;
472# undef HAVE_DPRINTF 472# undef HAVE_DPRINTF
473# undef HAVE_GETLINE 473# undef HAVE_GETLINE
474# undef HAVE_MEMRCHR 474# undef HAVE_MEMRCHR
475# if !defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 14
475# undef HAVE_MKDTEMP 476# undef HAVE_MKDTEMP
477# endif
476# undef HAVE_SETBIT 478# undef HAVE_SETBIT
477# undef HAVE_STPCPY 479# undef HAVE_STPCPY
478# undef HAVE_STPNCPY 480# undef HAVE_STPNCPY