[CMake] Ensuring not building for 64-bit

Michael Jackson mike.jackson at bluequartz.net
Mon Aug 17 11:07:10 EDT 2009


# if defined ((__APPLE__)) && defined(__LP64__) && __LP64__
// 64 bit headers/defines/typedefs here
#else
// 32 bit headers/defines/typedefs here

#endif
_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



On Aug 17, 2009, at 10:41 AM, ML wrote:

> #if TARGET_OS_MAC || (__APPLE__)
> 	#include <Carbon/Carbon.h>
> #endif



More information about the CMake mailing list