Skip to content

Commit

Permalink
m4: improve C++11 check
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémi Denis-Courmont committed Jun 21, 2015
1 parent dab7c50 commit d3b892b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions m4/stdcxx_11.m4
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
# Copyright (c) 2013 Roy Stogner <[email protected]>
# Copyright (c) 2014 Alexey Sokolov <[email protected]>
# 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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d3b892b

Please sign in to comment.