]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/c_global/cstdbool
re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x)
[thirdparty/gcc.git] / libstdc++-v3 / include / c_global / cstdbool
index ac18c74a6c95b4ce54ddca8fad00289d243eda5b..28dfa76abb8fe3428f8e271aeb388d4d004d716e 100644 (file)
 #ifndef _GLIBCXX_CSTDBOOL
 #define _GLIBCXX_CSTDBOOL 1
 
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
-# include <tr1/cstdbool>
+#ifndef __GXX_EXPERIMENTAL_CXX0X__
+#  include <c++0x_warning.h>
 #else
-# include <c++0x_warning.h>
+#  include <bits/c++config.h>
+#  if _GLIBCXX_HAVE_STDBOOL_H
+#    include_next <stdbool.h>
+#  endif
 #endif
 
 #endif