I need to define a system dependent integer type to be compatible with some low-level libraries. I installed x86 and x64 Project-Configuration and defined compilation conditional characters (IA32 and INTEL64) for them.
So, I would like to do the following:
#if IA32 typedef int SysInt; typedef uint SysUInt; #elif INTEL64 typedef long SysInt; typedef ulong SysUInt; #endif
However, this does not work due to typedef, not available in C #. What is the best option for this?
Thanks in advance. Best wishes.
source share