PR d/87799 Fix D build on windows hosts
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
This commit is contained in:
parent
7d31d33130
commit
4d024c3269
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
2
configure
vendored
2
configure
vendored
@ -3396,7 +3396,7 @@ case ,${enable_languages}, in
|
||||
;;
|
||||
*)
|
||||
case "${target}" in
|
||||
*-*-darwin* | *-*-cygwin* | *-*-mingw*)
|
||||
*-*-darwin*)
|
||||
unsupported_languages="$unsupported_languages d"
|
||||
;;
|
||||
esac
|
||||
|
@ -681,7 +681,7 @@ case ,${enable_languages}, in
|
||||
;;
|
||||
*)
|
||||
case "${target}" in
|
||||
*-*-darwin* | *-*-cygwin* | *-*-mingw*)
|
||||
*-*-darwin*)
|
||||
unsupported_languages="$unsupported_languages d"
|
||||
;;
|
||||
esac
|
||||
|
@ -1,3 +1,7 @@
|
||||
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.
|
||||
|
@ -55,4 +55,10 @@
|
||||
#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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user