How do I detect if a build is 32 or 64 bit; mostly my code doesn't care these days... but it is sometimes needed to define __64__ for 64 bit builds. In this case especially for mac.where kevent has two different structures.
__i386__
—Intel (32-bit)
__x86_64__
—Intel (64-bit)
__ppc__
—PowerPC (32-bit)
__ppc64__
—PowerPC (64-bit)
__BIG_ENDIAN__
—Big endian CPU
__LITTLE_ENDIAN__
—Little endian CPU
__LP64__
—The LP64 (64-bit) data model