更换了pcap.h和windows.h的包含顺序后,编译出现如下错误:
warning C4005: 'inline' : macro redefinition
fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro.
解决方法,注释掉pcap-stdinc.h里的:
//#define inline __inline