long long
Posted Jun 1, 2007 18:38 UTC (Fri) by
vmole (guest, #111)
In reply to:
long long by giraffedata
Parent article:
The return of syslets
This might help: Instant C99.
Yes, typedefs should be testable in the preprocessor. You certainly won't get any argument from me on that point :-) But for stdint, you can check __STDC_VERSION__ to determine whether or not to use your local version or the implmentation provided version.
A key point is that even if you do have to create your own defs, at least
name them after the stdint.h types, so that you can later switch without pain and not require other people looking at your code to learn yet another set of typedef names.
(
Log in to post comments)