netkvm: workaround for SDV of DDK 1809
The SDV build (msbuild /t:sdv /inputs:"/check") crashes
on this line. This looks like a bug of SDV, but we change
it in order to make transition to 2017 faster.
@@ -52,7 +52,7 @@ public:
VOID CreateNBL(USHORT *IPV6);
VOID SendNBLs();
static void NblCompletionCallback(PNET_BUFFER_LIST NBL);
- static const ULONG cloneFlags = NDIS_CLONE_FLAGS_USE_ORIGINAL_MDLS;
+ enum { cloneFlags = NDIS_CLONE_FLAGS_USE_ORIGINAL_MDLS };
private:
VOID CreateNBL(PVOID packet, UINT size, bool isIPV4);
EthernetArpFrame *CreateIPv4Packet(UINT32 IPV4);
