diff options
author | Jack Lloyd <[email protected]> | 2018-03-02 12:09:19 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-03-02 12:09:19 -0500 |
commit | 4b6f451b837ac487996592ae449ba2ef95a83456 (patch) | |
tree | 28879f01e10ce455ff42b7fa7ebf3a5f68115a93 /src/build-data/detect_arch.cpp | |
parent | e5a9aed2dd2723b7af502e454a23d1b4fa28fbbf (diff) |
Add (untested) support for x32 build
Needed for Debian
Diffstat (limited to 'src/build-data/detect_arch.cpp')
-rw-r--r-- | src/build-data/detect_arch.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/build-data/detect_arch.cpp b/src/build-data/detect_arch.cpp index 577b73ada..f5e6ecd58 100644 --- a/src/build-data/detect_arch.cpp +++ b/src/build-data/detect_arch.cpp @@ -1,5 +1,8 @@ -#if defined(__x86_64__) || defined(_M_X64) +#if defined(__x86_64__) && defined(__ILP32__) + X32 + +#elif defined(__x86_64__) || defined(_M_X64) X86_64 #elif defined(__i386__) || defined(__i386) || defined(_M_IX86) |