windows-xp.patch 539 B

1234567891011121314
  1. diff --git a/src/osal.c b/src/osal.c
  2. index 5a0ae633..ec56591c 100644
  3. --- a/src/osal.c
  4. +++ b/src/osal.c
  5. @@ -1090,7 +1090,7 @@ MDBX_INTERNAL_FUNC void osal_ioring_reset(osal_ioring_t *ior) {
  6. for (ior_item_t *item = ior->pool; item <= ior->last;) {
  7. if (!HasOverlappedIoCompleted(&item->ov)) {
  8. assert(ior->overlapped_fd);
  9. - CancelIoEx(ior->overlapped_fd, &item->ov);
  10. + CancelIo(ior->overlapped_fd);
  11. }
  12. if (item->ov.hEvent && item->ov.hEvent != ior)
  13. ior_put_event(ior, item->ov.hEvent);