PR d/87799
* d-system.h (_mkdir): Forward _mkdir on MinGW to mkdir in system.h.
* configure.ac: Remove d from unsupported languages on mingw and cygwin.
* configure: Regenerate.
From-SVN: r270349
+2019-04-14 Johannes Pfau <johannespfau@gmail.com>
+
+ * configure.ac: Remove d from unsupported languages on mingw and cygwin.
+ * configure: Regenerate.
+
2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (enable_libphobos): Check LIBPHOBOS_SUPPORTED.
;;
*)
case "${target}" in
- *-*-darwin* | *-*-cygwin* | *-*-mingw*)
+ *-*-darwin*)
unsupported_languages="$unsupported_languages d"
;;
esac
;;
*)
case "${target}" in
- *-*-darwin* | *-*-cygwin* | *-*-mingw*)
+ *-*-darwin*)
unsupported_languages="$unsupported_languages d"
;;
esac
+2019-04-14 Johannes Pfau <johannespfau@gmail.com>
+ PR d/87799
+ * d-system.h (_mkdir): Forward _mkdir on MinGW to mkdir in system.h.
+
2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
* d-tree.h (DECL_IN_UNITTEST_CONDITION_P): Define.
#undef tolower
#define tolower(c) TOLOWER(c)
+/* Forward _mkdir on MinGW to mkdir in system.h. */
+#ifdef _WIN32
+#undef _mkdir
+#define _mkdir(p) mkdir(p, 0)
+#endif
+
#endif /* GCC_D_SYSTEM_H */