m4: fix C11 tests for FreeBSD/clang.
authorKonstantin Pavlov <thresh@videolan.org>
Tue, 4 Oct 2016 12:36:58 +0000 (15:36 +0300)
committerKonstantin Pavlov <thresh@videolan.org>
Tue, 4 Oct 2016 13:01:07 +0000 (16:01 +0300)
m4/stdcxx_11.m4

index 98e7103..59df0a0 100644 (file)
@@ -90,7 +90,7 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[
     constexpr uint64_t constant_u64 = UINT64_C(0x100000000);
     constexpr unsigned constant_lim = UINT_MAX;
     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