I'm using a 3rd party library that typedef
s byte
to char
.
(This is evil as char
could be signed
or unsigned
depending on the compiler's choice).
Unfortunately that typedef
has spilled over into the codebase that I maintain and I'm keen to remove them: using uint8_t
directly instead.
Is there a way I can somehow undo this typedef
once I get to my code (i.e. direcly after #include <3rdpartylib>
)?
I will be in a position to remove the "solution" from my codebase once I've removed all the byte
s.