X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/5c19dc3ae3bd8e40a9c028b0deddd50ff337692c..be6bd1451eaf30f3d4ca55950dca98fba06884c1:/OSX/libsecurity_utilities/lib/threading_internal.h diff --git a/OSX/libsecurity_utilities/lib/threading_internal.h b/OSX/libsecurity_utilities/lib/threading_internal.h index dc7af307..03c8076f 100644 --- a/OSX/libsecurity_utilities/lib/threading_internal.h +++ b/OSX/libsecurity_utilities/lib/threading_internal.h @@ -38,7 +38,11 @@ namespace Security { // // Do we have 64-bit atomic operations? // -#define _HAVE_64BIT_ATOMIC (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__)) +#if (defined(__ppc64__) || defined(__i386__) || defined(__x86_64__)) +#define _HAVE_64BIT_ATOMIC 1 +#else +#define _HAVE_64BIT_ATOMIC 0 +#endif //