diff --git a/include/MacportsLegacySupport.h b/include/MacportsLegacySupport.h index ec2637032b193998b6de9108a424846deb0171ca..9ac8b2ef1fee9f7eaee21a027f3a93ed63b57140 100644 --- a/include/MacportsLegacySupport.h +++ b/include/MacportsLegacySupport.h @@ -44,6 +44,13 @@ #define __MPLS_APPLE_I386__ 0 #endif +/* True for 64-bit build */ +#if defined(__LP64__) && __LP64__ +#define __MPLS_64BIT 1 +#else +#define __MPLS_64BIT 0 +#endif + /* * More concise and more comprehensive target OS definition, to simplify * many conditionals.