diff options
Diffstat (limited to 'include/stddef.h')
-rw-r--r-- | include/stddef.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stddef.h b/include/stddef.h index 8841bbea29786..faf8552d8ce78 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -53,7 +53,8 @@ using std::nullptr_t; } // Re-use the compiler's <stddef.h> max_align_t where possible. -#if !defined(__CLANG_MAX_ALIGN_T_DEFINED) && !defined(_GCC_MAX_ALIGN_T) +#if !defined(__CLANG_MAX_ALIGN_T_DEFINED) && !defined(_GCC_MAX_ALIGN_T) && \ + !defined(__DEFINED_max_align_t) typedef long double max_align_t; #endif |