diff options
Diffstat (limited to 'libstdc++-v3/include/c_std/cstddef')
-rw-r--r-- | libstdc++-v3/include/c_std/cstddef | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libstdc++-v3/include/c_std/cstddef b/libstdc++-v3/include/c_std/cstddef index 9500bc514bd..6f1b5bd5d79 100644 --- a/libstdc++-v3/include/c_std/cstddef +++ b/libstdc++-v3/include/c_std/cstddef @@ -44,4 +44,12 @@ #include <bits/c++config.h> #include <stddef.h> +#if __cplusplus >= 201103L +namespace std +{ + // We handle size_t, ptrdiff_t, and nullptr_t in c++config.h. + using ::max_align_t; +} #endif + +#endif // _GLIBCXX_CSTDDEF |