summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorjyong <jyong@138bc75d-0d04-0410-961f-82ee72b054a4>2017-05-02 15:04:39 +0000
committerjyong <jyong@138bc75d-0d04-0410-961f-82ee72b054a4>2017-05-02 15:04:39 +0000
commitf47fc7ef7f52cd095e636d4f93cca052427f3f0a (patch)
treed3396784d44753aa23e84cb28698a3738e46a011 /libstdc++-v3
parent9a59944402526f043d66fd2ab89279747893e8c4 (diff)
downloadgcc-f47fc7ef7f52cd095e636d4f93cca052427f3f0a.tar.gz
2017-05-02 Hugo Beauzée-Luyssen <hugo@beauzee.fr>
PR libstdc++/69506 * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247502 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/config/os/mingw32-w64/os_defines.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 65e9cadd408..7e39c092e46 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-02 Hugo Beauzée-Luyssen <hugo@beauzee.fr>
+
+ PR libstdc++/69506
+ * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_WEAK_REF): Define.
+
2017-04-29 François Dumont <fdumont@gcc.gnu.org>
* testsuite/libstdc++-prettyprinters/48362.cc: Replace a regexp-test
diff --git a/libstdc++-v3/config/os/mingw32-w64/os_defines.h b/libstdc++-v3/config/os/mingw32-w64/os_defines.h
index 1f46103249a..44985064c59 100644
--- a/libstdc++-v3/config/os/mingw32-w64/os_defines.h
+++ b/libstdc++-v3/config/os/mingw32-w64/os_defines.h
@@ -76,6 +76,8 @@
#ifdef __x86_64__
#define _GLIBCXX_LLP64 1
+// See libstdc++/69506
+#define _GLIBCXX_USE_WEAK_REF 0
#endif
// Enable use of GetModuleHandleEx (requires Windows XP/2003) in