From 533fd56d6b1688e81d84bc03a99617aa92689148 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 16 May 2018 23:23:39 +0200 Subject: [PATCH] druntime: Fix core.stdc.stdint.(u)int64_t on 64-bit macOS etc. * Use it instead of newly introduced, LDC-specific `core.stdc.config.c(pp)_(u)int64_t`. * Cherry-pick Walter's upstream commit replacing the magic structs in core.stdc.config by magic enums (supporting implicit conversion from integer literals) [as well as adding cpp_{size,ptrdiff}_t]. * Add a clarifying comment wrt. DMD/LDC mangling difference on 64-bit OS X and use version(LDC) guards. * Fix cpp_ptrdiff_t for 32-bit macOS. * Adapt dmd-testsuite accordingly. --- runtime/druntime | 2 +- tests/d2/dmd-testsuite | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/druntime b/runtime/druntime index faddb379214..e3bfc5fb780 160000 --- a/runtime/druntime +++ b/runtime/druntime @@ -1 +1 @@ -Subproject commit faddb379214071051c6c3792101f1fe8aa2efd71 +Subproject commit e3bfc5fb780967f1b6807039ff00b2ccaf4b03d9 diff --git a/tests/d2/dmd-testsuite b/tests/d2/dmd-testsuite index 35e6bf9d6ec..75034becf67 160000 --- a/tests/d2/dmd-testsuite +++ b/tests/d2/dmd-testsuite @@ -1 +1 @@ -Subproject commit 35e6bf9d6ec37b797c6330ac667db06f852e6c3d +Subproject commit 75034becf67b754a3cd828085f9012be757bb722