diff options
author | Bruno Schmitt <bruno@oschmitt.com> | 2017-07-04 12:52:24 +0200 |
---|---|---|
committer | Bruno Schmitt <bruno@oschmitt.com> | 2017-07-04 12:52:24 +0200 |
commit | fcf82795cdb43c2148f35a671e80325dc25bb2a0 (patch) | |
tree | 3caba1e94a78c51fd5c9141ecfce83cbb4414cc3 | |
parent | f302e6f6ef1cfe7249f17642678c1620b5b8f988 (diff) | |
download | abc-fcf82795cdb43c2148f35a671e80325dc25bb2a0.tar.gz abc-fcf82795cdb43c2148f35a671e80325dc25bb2a0.tar.bz2 abc-fcf82795cdb43c2148f35a671e80325dc25bb2a0.zip |
Using arch macro for moderns compilers
-rw-r--r-- | src/misc/util/abc_global.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/misc/util/abc_global.h b/src/misc/util/abc_global.h index b68d7b4c..fad76ffc 100644 --- a/src/misc/util/abc_global.h +++ b/src/misc/util/abc_global.h @@ -103,7 +103,7 @@ ABC_NAMESPACE_HEADER_START */ #if defined(__ccdoc__) typedef platform_dependent_type ABC_PTRDIFF_T; -#elif defined(LIN64) +#elif defined(LIN64) || defined(__x86_64__) typedef long ABC_PTRDIFF_T; #elif defined(NT64) typedef long long ABC_PTRDIFF_T; @@ -120,7 +120,7 @@ typedef int ABC_PTRDIFF_T; */ #if defined(__ccdoc__) typedef platform_dependent_type ABC_PTRUINT_T; -#elif defined(LIN64) +#elif defined(LIN64) || defined(__x86_64__) typedef unsigned long ABC_PTRUINT_T; #elif defined(NT64) typedef unsigned long long ABC_PTRUINT_T; @@ -137,7 +137,7 @@ typedef unsigned int ABC_PTRUINT_T; */ #if defined(__ccdoc__) typedef platform_dependent_type ABC_PTRINT_T; -#elif defined(LIN64) +#elif defined(LIN64) || defined(__x86_64__) typedef long ABC_PTRINT_T; #elif defined(NT64) typedef long long ABC_PTRINT_T; @@ -152,7 +152,7 @@ typedef int ABC_PTRINT_T; */ #if defined(__ccdoc__) typedef platform_dependent_type ABC_INT64_T; -#elif defined(LIN64) +#elif defined(LIN64) || defined(__x86_64__) typedef long ABC_INT64_T; #elif defined(NT64) || defined(LIN) typedef long long ABC_INT64_T; @@ -167,7 +167,7 @@ typedef signed __int64 ABC_INT64_T; */ #if defined(__ccdoc__) typedef platform_dependent_type ABC_UINT64_T; -#elif defined(LIN64) +#elif defined(LIN64) || defined(__x86_64__) typedef unsigned long ABC_UINT64_T; #elif defined(NT64) || defined(LIN) typedef unsigned long long ABC_UINT64_T; |