I have gone through the code if found something like this
Code:
#ifndef __int8_t_defined
#define __int8_t_defined
typedef signed char int8_t;
typedef short int16_t;
typedef int int32_t;
#if __WORDSIZE == 64
typedef long int64_t;
#else
typedef long long int64_t;
#endif
#endif
but i feel somewhere i have to mention __WORDSIZE to be some value either 32 bit or 64 bit. Please correct me if i am wrong. I want to go along the following lines.
Code:
typedef unsigned int tU##sizeof(unsigned int);
I get compilation errors obviously. Please tell me if i can acheive it without mentioning the wordsize?