What is RpcNdr.h

前端 未结 3 770
执笔经年
执笔经年 2021-01-07 22:50

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 pl

3条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-07 23:19

    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 
    

提交回复
热议问题