diff --git a/configure b/configure
index 40b95d1..5a0a83b 100755
--- a/configure
+++ b/configure
@@ -23840,7 +23840,7 @@
   INT64_T='signed long long'
   INT64_F='"ll"'
 fi
-case "${build_os}" in
+case "${host_os}" in
   mingw* )
     INT64_F='"I64"'
     ;;
@@ -23861,7 +23861,7 @@
   UINT64_T='unsigned long long'
   UINT64_F='"ll"'
 fi
-case "${build_os}" in
+case "${host_os}" in
   mingw* )
     UINT64_F='"I64"'
     ;;