Commit 995515b8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

include: do not define max_align_t in C++

Since C++11 is now assumed, we know the type exists in C++. It is only
necessary in C99.
parent 4b1c9dcd
......@@ -108,7 +108,7 @@ extern "C" {
#endif
/* stddef.h */
#ifndef HAVE_MAX_ALIGN_T
#if !defined (__cplusplus) && !defined (HAVE_MAX_ALIGN_T)
typedef struct {
long long ll;
long double ld;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment