[CMake] #1f/#endif trouble...

Hendrik Sattler post at hendrik-sattler.de
Mon Aug 17 02:05:51 EDT 2009


Am Sonntag 16 August 2009 23:27:54 schrieb ML:
> I have:
>
> #if TARGET_OS_MAC
> 	typedef unsigned char							UInt8;
> 	typedef signed char							SInt8;
> 	typedef unsigned short						UInt16;
> 	typedef signed short							SInt16;
> 	typedef unsigned long							UInt32;
> 	typedef signed long							SInt32;
> #endif // TARGET_OS_MAC

Is there any reason not to use the standard types from C99 like uint8_t, 
int8_t, uint16_t, int16_t, ....

HS



More information about the CMake mailing list