If you need to conditionally compile different code for 32-bit than 64-bit, you can use the #if defined(__LP64__) for generic 32/64 differences, or __arm__, __aarch64__ (arm64), __i386__ (x86), and __x86_64__ for the specific architectures supported by Android.