You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
util, gen: undef Windows COM macros and rename interface identifier
<winsock2.h> transitively pulls in <windows.h> and <commdlg.h>, which
#define INTERFACE, interface, and ERROR. These collide with capnp's
Kind::INTERFACE enumerator, the gen.cpp parameter named 'interface',
and KJ_LOG(ERROR, ...) in proxy.cpp.
Undef the macros right after the winsock2.h include in util.h, and
rename gen.cpp's 'interface' locals to 'schema' / 'node_interface'.
0 commit comments