windivert: fix compile warnings

pull/8945/head
Victor Julien 3 years ago
parent 5af73b3879
commit fd93f002a0

@ -130,8 +130,12 @@ void *WinDivertGetQueue(int n)
}
// not defined in MinGW winerror.h
#ifndef ERROR_INVALID_IMAGE_HASH
#define ERROR_INVALID_IMAGE_HASH 577L
#endif
#ifndef ERROR_DATA_NOT_ACCEPTED
#define ERROR_DATA_NOT_ACCEPTED 592L
#endif
/**
* \brief return an error description for Win32 error values commonly returned

Loading…
Cancel
Save