@t-nelson  return 'int' is good solution. Can distinguish between failed and '32' bit. And easily extendible in future for 128-bit :)
I don't see any issue. If someone need to distinguish between 32 and 64 bit then ifdefs can be used.
If someone would like to use this function instead of ifdefs - I see no problem. Compiler will optimize call and even cut not needed code for selected bitness.