2014-04-30 07:30:26 +00:00
|
|
|
/*=============================================================================
|
2018-12-30 08:25:21 +00:00
|
|
|
Copyright (c) 2011-2018 Bolero MURAKAMI
|
2014-04-30 07:30:26 +00:00
|
|
|
https://github.com/bolero-MURAKAMI/Sprout
|
|
|
|
|
|
|
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
=============================================================================*/
|
|
|
|
#ifndef SPROUT_WORKAROUND_STD_CSTDDEF_HPP
|
|
|
|
#define SPROUT_WORKAROUND_STD_CSTDDEF_HPP
|
|
|
|
|
|
|
|
#include <sprout/config.hpp>
|
2014-07-30 10:23:33 +00:00
|
|
|
#include <sprout/detail/predef.hpp>
|
2014-04-30 07:30:26 +00:00
|
|
|
|
|
|
|
#if defined(__clang__) && defined(__GLIBCXX__)
|
2016-04-05 02:57:06 +00:00
|
|
|
# if SPROUT_CLANG_EARLIER(3, 4, 2) && (__GLIBCXX__ >= 20140422)
|
2014-04-30 07:30:26 +00:00
|
|
|
# include <stddef.h>
|
|
|
|
#
|
|
|
|
# if defined(__STDDEF_H)
|
|
|
|
struct max_align_t {
|
|
|
|
long long __max_align_ll __attribute__((__aligned__(__alignof__(long long))));
|
|
|
|
long double __max_align_ld __attribute__((__aligned__(__alignof__(long double))));
|
|
|
|
};
|
|
|
|
# endif
|
2016-04-05 02:57:06 +00:00
|
|
|
# endif
|
2014-04-30 07:30:26 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <cstddef>
|
|
|
|
|
|
|
|
#endif // #ifndef SPROUT_WORKAROUND_STD_CSTDDEF_HPP
|