Commit 807aaa46b1b26a459ac1ce44c17dbe872ad0b637

Authored by Jay Berkenbilt
1 parent ff65e272

More reliable Windows wordsize detection

Showing 2 changed files with 2 additions and 2 deletions
config-mingw
1 #!/bin/sh 1 #!/bin/sh
2 set -e 2 set -e
3 set -x 3 set -x
4 -if echo $PATH | grep -q /mingw64; then 4 +if g++ -v 2>&1 | grep Target: | grep -q x86_64; then
5 wordsize=64 5 wordsize=64
6 else 6 else
7 wordsize=32 7 wordsize=32
config-msvc
1 #!/bin/sh 1 #!/bin/sh
2 set -e 2 set -e
3 set -x 3 set -x
4 -if echo $PATH | grep -q /mingw64; then 4 +if cl 2>&1 | grep -q 'for x64'; then
5 wordsize=64 5 wordsize=64
6 else 6 else
7 wordsize=32 7 wordsize=32