Error while building the ue4 from the source

I tried to build an editor through visual studio 17. I downloaded all the necessary components, but an error appears during compilation:

‘NDIS_MINIPORT_MAJOR_VERSION’ is not
defined as a preprocessor macro,
replacing with ‘0’ for ‘#if/#elif

I could not find the answer on the Internet.What is the problem?

Do you need an older version of the engine? if not, compile some other version, or go to version.h header and learn what the macro is about and provide a version number.
the other error about implicit conversion is easy to resolve.

I would love to use the new one, but I need this particular version for work. Tried advice with #include “Windows/MinWindows.h”. did not help

try to include Ndis.h
or try to define:

 #define NDIS_MINIPORT_MAJOR_VERSION 6

Did not help(