vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Sun Jun 21 
22:20:00 2015 +0300| [d3b892b8bcf8d51f00ef02f42647dd5c2c130908] | committer: 
Rémi Denis-Courmont

m4: improve C++11 check

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

 m4/stdcxx_11.m4 |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/m4/stdcxx_11.m4 b/m4/stdcxx_11.m4
index f3779d6..2853545 100644
--- a/m4/stdcxx_11.m4
+++ b/m4/stdcxx_11.m4
@@ -29,6 +29,7 @@
 #   Copyright (c) 2013 Roy Stogner <royst...@ices.utexas.edu>
 #   Copyright (c) 2014 Alexey Sokolov <soko...@google.com>
 #   Copyright (c) 2014, 2015 Google Inc.
+#   Copyright (c) 2015 VLC authors and VideoLAN
 #
 #   Copying and distribution of this file, with or without modification, are
 #   permitted in any medium without royalty provided the copyright notice
@@ -81,6 +82,9 @@ m4_define([_AX_CXX_COMPILE_STDCXX_11_testbody], [[
             func<foo>(0);
         }
     }
+
+    #include <cinttypes>
+    constexpr uint64_t constantname = UINT64_C(0x100000000);
 ]])
 
 AC_DEFUN([AX_CXX_COMPILE_STDCXX_11], [dnl

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to