Hello,

this patch enables the 'long long' use in libstdc++ for Windows native targets.

ChangeLog

2013-09-13  Kai Tietz  <kti...@redhat.com>

    * config/os/mingw32/os_defines.h (_GLIBCXX_USE_LONG_LONG):
    Enable feature.
    * config/os/mingw-w64/os_defines.h (_GLIBCXX_USE_LONG_LONG):
    Likewise.

Tested for i686-w64-mingw32, and x86_64-w64-mingw32. I will apply
soon, if there are no objections.

Regards,
Kai

Index: config/os/mingw32/os_defines.h
===================================================================
--- config/os/mingw32/os_defines.h    (Revision 202553)
+++ config/os/mingw32/os_defines.h    (Arbeitskopie)
@@ -75,4 +75,7 @@
 #define _GLIBCXX_LLP64 1
 #endif

+#undef _GLIBCXX_USE_LONG_LONG
+#define _GLIBCXX_USE_LONG_LONG 1
+
 #endif
Index: config/os/mingw32-w64/os_defines.h
===================================================================
--- config/os/mingw32-w64/os_defines.h    (Revision 202553)
+++ config/os/mingw32-w64/os_defines.h    (Arbeitskopie)
@@ -78,4 +78,7 @@
 #define _GLIBCXX_LLP64 1
 #endif

+#undef _GLIBCXX_USE_LONG_LONG
+#define _GLIBCXX_USE_LONG_LONG 1
+
 #endif

Reply via email to