Undeclared a define made in Windows.h which conflicts with a goto label.
Fixed preprocessor or/and/not operators to be vc++ compatible.