Y
Hacker News
new
|
ask
|
show
|
jobs
by
cperciva
5106 days ago
Outside of the preprocessor, the char type is a one-byte integer (whether it's signed or not is implementation-defined).
1 comments
krollew
5106 days ago
So the good solution is make a test that finds it out, for example in configuration script and set proper preprocessor constant and test that constant instead.
link