Commit 0946ea9f authored by Konstantin Pavlov's avatar Konstantin Pavlov

m4: fix C11 tests for FreeBSD/clang.

parent 110ed2c3
...@@ -90,7 +90,7 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[ ...@@ -90,7 +90,7 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[
constexpr uint64_t constant_u64 = UINT64_C(0x100000000); constexpr uint64_t constant_u64 = UINT64_C(0x100000000);
constexpr unsigned constant_lim = UINT_MAX; constexpr unsigned constant_lim = UINT_MAX;
const char *constant_fmt = "%" PRIu64, *constant_scn = "%" SCNu64; const char *constant_fmt = "%" PRIu64, *constant_scn = "%" SCNu64;
constexpr size_t constant_align = alignof (max_align_t); constexpr size_t constant_align = alignof (std::max_align_t);
]]) ]])
AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [dnl AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [dnl
......
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