Skip to content

Commit

Permalink
OS/2: Guard using ::max_align_t with _GCC_MAX_ALIGN_T
Browse files Browse the repository at this point in the history
    modified:   libstdc++-v3/include/c_global/cstddef
    modified:   libstdc++-v3/include/c_std/cstddef
  • Loading branch information
komh committed Feb 20, 2016
1 parent 3a2ba97 commit 13e9736
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libstdc++-v3/include/c_global/cstddef
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <bits/c++config.h>
#include <stddef.h>

#if __cplusplus >= 201103L
#if __cplusplus >= 201103L && defined(_GCC_MAX_ALIGN_T)
namespace std
{
// We handle size_t, ptrdiff_t, and nullptr_t in c++config.h.
Expand Down
2 changes: 1 addition & 1 deletion libstdc++-v3/include/c_std/cstddef
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <bits/c++config.h>
#include <stddef.h>

#if __cplusplus >= 201103L
#if __cplusplus >= 201103L && defined(_GCC_MAX_ALIGN_T)
namespace std
{
// We handle size_t, ptrdiff_t, and nullptr_t in c++config.h.
Expand Down

0 comments on commit 13e9736

Please sign in to comment.