[vlc-commits] m4: fix C11 tests for FreeBSD/clang.

Konstantin Pavlov git at videolan.org
Tue Oct 4 15:01:28 CEST 2016


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Tue Oct  4 15:36:58 2016 +0300| [0946ea9f3ce8c7bfbd78b313aa1442fad2b051ed] | committer: Konstantin Pavlov

m4: fix C11 tests for FreeBSD/clang.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0946ea9f3ce8c7bfbd78b313aa1442fad2b051ed
---

 m4/stdcxx_11.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/stdcxx_11.m4 b/m4/stdcxx_11.m4
index 98e7103..59df0a0 100644
--- a/m4/stdcxx_11.m4
+++ b/m4/stdcxx_11.m4
@@ -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



More information about the vlc-commits mailing list