How to solve typedef redefinition in C++? -


i imported code project, there line: typedef signed char byte;

but byte has been typedef in rpcndr.h. there many codes using type, changing name difficult thing. i'm wondering if there's easy way solve such redefinition?

p.s. code running on windows , codes not has namespace, add namespaces equal change type name.

try adding: #define win32_lean_and_mean before includes.

what #defining win32_lean_and_mean exclude exactly?


Comments