aboutsummaryrefslogtreecommitdiffstats
path: root/config-msvc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-16 00:45:39 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-16 13:02:25 +0200
commit807aaa46b1b26a459ac1ce44c17dbe872ad0b637 (patch)
tree4623cccf21230ab23452a53585435d5ab61b183b /config-msvc
parentff65e272a8f8e647a3db5187e5c4594ff01cbd34 (diff)
downloadqpdf-807aaa46b1b26a459ac1ce44c17dbe872ad0b637.tar.zst
More reliable Windows wordsize detection
Diffstat (limited to 'config-msvc')
-rwxr-xr-xconfig-msvc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-msvc b/config-msvc
index 56d752e4..36c4aab2 100755
--- a/config-msvc
+++ b/config-msvc
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
set -x
-if echo $PATH | grep -q /mingw64; then
+if cl 2>&1 | grep -q 'for x64'; then
wordsize=64
else
wordsize=32