I imported some code into my project, but there is a line:
typedef signed char byte;
But the byte
has been typedef in rpcndr.h
. There are many codes using this type, so just changing the name is a difficult thing. I'm wondering if there's an easy way to solve such redefinition?
P.S. My code is running on Windows and all codes do not has a namespace, so add namespaces is equal to change type name.
Try adding: #define WIN32_LEAN_AND_MEAN before your includes.
What does #defining WIN32_LEAN_AND_MEAN exclude exactly?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With