OpenSystemsDevelopment
/
qpdf
Toggle navigation
Sign in
Sign in
Project
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code ยป
Commit
807aaa46b1b26a459ac1ce44c17dbe872ad0b637
Authored by
Jay Berkenbilt
2020-10-15 18:45:39 -0400
1 parent
ff65e272
More reliable Windows wordsize detection
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
config-mingw
config-msvc
config-mingw
View file @
807aaa4
1
1
#!/bin/sh
2
2
set -e
3
3
set -x
4
-if
echo $PATH | grep -q /mingw
64; then
4
+if
g++ -v 2>&1 | grep Target: | grep -q x86_
64; then
5
5
wordsize=64
6
6
else
7
7
wordsize=32
...
...
config-msvc
View file @
807aaa4
1
1
#!/bin/sh
2
2
set -e
3
3
set -x
4
-if
echo $PATH | grep -q /mingw64
; then
4
+if
cl 2>&1 | grep -q 'for x64'
; then
5
5
wordsize=64
6
6
else
7
7
wordsize=32
...
...