I’m porting an application from Linux to Windows, and one of my variables, ‘rct1’, seems to clash with a macro that is coming from somewhere in Windows. I can’t find any information on this – is there a way to disable this macro being defined?
I’m porting an application from Linux to Windows, and one of my variables, ‘rct1’,
Share
It’s in
Dlgs.hin the Windows SDK.So add
#define WIN32_LEAN_AND_MEANbefore all#include <windows.h>so you don’t bring inDlgs.h.