5 ms·
I'm surprised that it isn't normal to provide a pragma for that. Something like this: #pragma push intsizes 1 2 2 4 0 #include <yimage.h> // old 16-bit hea
by burfog 6y ago
I'm surprised that it isn't normal to provide a pragma for that. Something like this:
#pragma push intsizes 1 2 2 4 0
#include <yimage.h> // old 16-bit header
#pragma pop
#pragma push intsizes 1 2 4 8 16
#include <servertypes.h> // uses 128-bit long long
#pragma pop
- pjc50 6y agoThat makes it completely impossible while reading code to tell what the size of int is even on your system. And worsens header file include order problems.