win: polyfill ERROR_DEVICE_FEATURE_NOT_SUPPORTED definition for MinGW

This commit is contained in:
Bert Belder 2017-12-08 19:28:43 +01:00
parent 1a2743cf5e
commit e10424bf58

View File

@ -25,4 +25,9 @@
#pragma warning(pop) #pragma warning(pop)
#endif #endif
#ifndef ERROR_DEVICE_FEATURE_NOT_SUPPORTED
/* Windows headers distributed with MinGW lack a definition for this. */
#define ERROR_DEVICE_FEATURE_NOT_SUPPORTED 316L
#endif
#endif /* WEPOLL_WIN_H_ */ #endif /* WEPOLL_WIN_H_ */