diff mbox

[FFmpeg-devel] configure: check for strtoull on msvc

Message ID 20161205160722.2120-1-jamrial@gmail.com
State Accepted
Commit b52d3574d466e745834d1283b55570dee1e2d4cd
Headers show

Commit Message

James Almer Dec. 5, 2016, 4:07 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Niedermayer Dec. 5, 2016, 5:25 p.m. UTC | #1
On Mon, Dec 05, 2016 at 01:07:22PM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  configure | 1 +
>  1 file changed, 1 insertion(+)

Tested-by: michael on mingw32/64, arm, mips, x86-32/64 linux
build works as expected as before
James Almer Dec. 5, 2016, 5:29 p.m. UTC | #2
On 12/5/2016 2:25 PM, Michael Niedermayer wrote:
> On Mon, Dec 05, 2016 at 01:07:22PM -0300, James Almer wrote:
>> Signed-off-by: James Almer <jamrial@gmail.com>
>> ---
>>  configure | 1 +
>>  1 file changed, 1 insertion(+)
> 
> Tested-by: michael on mingw32/64, arm, mips, x86-32/64 linux
> build works as expected as before

Pushed. Thanks.
diff mbox

Patch

diff --git a/configure b/configure
index ddc065e..21ec552 100755
--- a/configure
+++ b/configure
@@ -6284,6 +6284,7 @@  __declspec($_restrict) void* foo(int);
 EOF
     fi
     check_func strtoll || add_cflags -Dstrtoll=_strtoi64
+    check_func strtoull || add_cflags -Dstrtoull=_strtoui64
     # the new SSA optimzer in VS2015 U3 is mis-optimizing some parts of the code
     # this flag should be re-checked on newer compiler releases and put under a
     # version check once its fixed