mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 11:13:46 +01:00
[clang] correction version for align_t workaround
This commit is contained in:
parent
ef3c199795
commit
efff7af8cb
@ -22,7 +22,7 @@
|
|||||||
#define TRIQS_ARRAYS_FIRST_INCLUDE_PYTHON_H
|
#define TRIQS_ARRAYS_FIRST_INCLUDE_PYTHON_H
|
||||||
|
|
||||||
// clang but not libc++
|
// clang but not libc++
|
||||||
#if defined(__clang__) and !defined(_LIBCPP_VERSION) and (__clang_major__ <= 3) and (__clang_minor__ <= 4) and (__clang_patchlevel__ < 2)
|
#if defined(__clang__) and !defined(_LIBCPP_VERSION) and (__clang_major__ <= 3) and (__clang_minor__ <= 5) and (__clang_patchlevel__ < 2)
|
||||||
// workaround an error in gcc stdlib, but corrected in clang 3.4.2
|
// workaround an error in gcc stdlib, but corrected in clang 3.4.2
|
||||||
typedef long double max_align_t;
|
typedef long double max_align_t;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user