]> gcc.gnu.org Git - gcc.git/commitdiff
cstdlib (at_quick_exit, quick_exit): Provide in C++11 mode.
authorPaolo Carlini <paolo.carlini@oracle.com>
Tue, 12 Feb 2013 12:01:14 +0000 (12:01 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Tue, 12 Feb 2013 12:01:14 +0000 (12:01 +0000)
2013-02-12  Paolo Carlini  <paolo.carlini@oracle.com>

* include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
C++11 mode.

From-SVN: r195974

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_std/cstdlib

index 0c631f10ec16112f28182200b97da62b180f9d7e..03df2a51cefcf611fa7d1d28eb679f5357212d7a 100644 (file)
@@ -1,3 +1,8 @@
+2013-02-12  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/c_std/cstdlib (at_quick_exit, quick_exit): Provide in
+       C++11 mode.
+
 2013-02-12  Julian Brown  <julian@codesourcery.com>
 
        * testsuite/22_locale/time_get/get_weekday/char/38081-1.cc (test01):
index 224fccfd9c508d5a72c3d85d35276f733b28732c..fa3e0ead9774724e72ec2367a5b27133ae51e3ec 100644 (file)
@@ -57,6 +57,14 @@ namespace std
   extern "C" void abort(void) throw () _GLIBCXX_NORETURN;
   extern "C" int atexit(void (*)()) throw ();
   extern "C" void exit(int) throw () _GLIBCXX_NORETURN;
+#if __cplusplus >= 201103L
+# ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT
+  extern "C" int at_quick_exit(void (*)()) throw ();
+# endif
+# ifdef _GLIBCXX_HAVE_QUICK_EXIT
+  extern "C" void quick_exit(int) throw() _GLIBCXX_NORETURN;
+# endif
+#endif
 } // namespace
 
 #else
@@ -67,6 +75,11 @@ namespace std
 #undef abort
 #undef abs
 #undef atexit
+#if __cplusplus >= 201103L
+# ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT
+#  undef at_quick_exit
+# endif
+#endif
 #undef atof
 #undef atoi
 #undef atol
@@ -83,6 +96,11 @@ namespace std
 #undef mbstowcs
 #undef mbtowc
 #undef qsort
+#if __cplusplus >= 201103L
+# ifdef _GLIBCXX_HAVE_QUICK_EXIT
+#  undef quick_exit
+# endif
+#endif
 #undef rand
 #undef realloc
 #undef srand
@@ -103,6 +121,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
   using ::abort;
   using ::abs;
   using ::atexit;
+#if __cplusplus >= 201103L
+# ifdef _GLIBCXX_HAVE_AT_QUICK_EXIT
+  using ::at_quick_exit;
+# endif
+#endif
   using ::atof;
   using ::atoi;
   using ::atol;
@@ -121,6 +144,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
   using ::mbtowc;
 #endif // _GLIBCXX_HAVE_MBSTATE_T
   using ::qsort;
+#if __cplusplus >= 201103L
+# ifdef _GLIBCXX_HAVE_QUICK_EXIT
+  using ::quick_exit;
+# endif
+#endif
   using ::rand;
   using ::realloc;
   using ::srand;
This page took 0.064071 seconds and 5 git commands to generate.