3 ms·
> Ignoring the basic int type and using a zoo of preprocessor defines My C is a bit rusty but why should #defines be used in this scenario? A typedef set in a
by geezerjay 8y ago
> Ignoring the basic int type and using a zoo of preprocessor defines
My C is a bit rusty but why should #defines be used in this scenario? A typedef set in a config.h.in is more than enough to meet the requirements of this usecase.
- icedchai 8y agoWhy do you need your own typedef? stdint.h is available, if you're using a compiler from the past couple of decades at least.