Skip to content
Snippets Groups Projects
Commit 49ebada0 authored by Fred Wright's avatar Fred Wright Committed by Christopher Nielsen
Browse files

Add convenience flag for 64-bit checks.

parent 02a51528
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment