diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-04 11:13:34 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-09-04 11:13:34 +0000 |
commit | f8c2da4bf80217b11405d23ac893f5cfabc89708 (patch) | |
tree | 543c967eadc67a81024d62c14fb129147c039cb0 /libstdc++-v3/testsuite | |
parent | 19665740d336d4ee7d0cf92b5b0643fa1d7da14a (diff) | |
download | gcc-f8c2da4bf80217b11405d23ac893f5cfabc89708.tar.gz |
Add C++11 header <cuchar>.
2015-09-04 Edward Smith-Rowland <3dw4rd@verizon.net>
Jonathan Wakely <jwakely@redhat.com>
* acinclude.m4 (GLIBCXX_CHECK_UCHAR_H): Define.
* config.h.in: Regenerate.
* configure: Regenerate.
* configure.ac: Check for <uchar.h>.
* include/Makefile.am: Add new headers.
* include/Makefile.in: Regenerate.
* include/c/cuchar: New.
* include/c_compatibility/uchar.h: New.
* include/c_global/cuchar: New.
* include/c_std/cuchar: New.
* include/precompiled/stdc++.h: Include <cuchar>.
* testsuite/17_intro/headers/c++200x/stdc++.cc: Include <uchar.h>.
* testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc:
Include <uchar.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227488 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++.cc | 3 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++.cc index 50c32744732..d1c64b190a8 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++.cc @@ -59,6 +59,9 @@ #include <tgmath.h> #endif #include <time.h> +#if __has_include(<uchar.h>) +#include <uchar.h> +#endif #ifdef _GLIBCXX_HAVE_WCHAR_H #include <wchar.h> #endif diff --git a/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc b/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc index 9fa919f21c5..e51bdee70f6 100644 --- a/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc +++ b/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++_multiple_inclusion.cc @@ -59,6 +59,9 @@ #include <tgmath.h> #endif #include <time.h> +#if __has_include(<uchar.h>) +#include <uchar.h> +#endif #ifdef _GLIBCXX_HAVE_WCHAR_H #include <wchar.h> #endif @@ -103,6 +106,9 @@ #include <tgmath.h> #endif #include <time.h> +#if __has_include(<uchar.h>) +#include <uchar.h> +#endif #ifdef _GLIBCXX_HAVE_WCHAR_H #include <wchar.h> #endif |