configure: check for strtoull on msvc
authorJames Almer <jamrial@gmail.com>
Mon, 5 Dec 2016 16:07:10 +0000 (13:07 -0300)
committerJames Almer <jamrial@gmail.com>
Mon, 5 Dec 2016 22:19:58 +0000 (19:19 -0300)
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit b52d3574d466e745834d1283b55570dee1e2d4cd)

configure

index 6707801..034d22d 100755 (executable)
--- a/configure
+++ b/configure
@@ -5995,6 +5995,7 @@ __declspec($_restrict) void* foo(int);
 EOF
     fi
     check_func strtoll || add_cflags -Dstrtoll=_strtoi64
+    check_func strtoull || add_cflags -Dstrtoull=_strtoui64
 fi
 
 for pfx in "" host_; do