And where does Microsoft get away with
#define small char
You can't just add reserved words to the language and quietly include them in a platform SDK!
And more importantly how do I get rid of it!
edit : how to find what is being included where and by what in Visual Studio - Displaying the #include hierarchy for a C++ file in Visual Studio
You didn't say whether you wanted to get rid of the header include or of #define.
If you want to get rid of the include but don't know where, you could try to define the include flag in your header above where the SDK includes are listed.
#define RpcNdr.h //find the real flag in the header
#include "sdk.h"
If it is just the #define of 'small', then how about putting this in your headers right after the list of SDK includes.
#ifdef RpcNdr.h //find the real flag in the header
#undef small
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