]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: fix mingw 5.0.3 compatibility issue 39707/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 25 Feb 2021 20:44:22 +0000 (20:44 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Thu, 25 Feb 2021 20:47:23 +0000 (20:47 +0000)
commit7eae54cb4c4ee26fdaff9599a627edd2d281de8a
tree112fe9247747cd96db92052b0c2298444d7db168
parentf81c94c1a241b50da164a0355ca8450c2a5cdf84
rbd: fix mingw 5.0.3 compatibility issue

GetOverlappedResultEx isn't avaialable when using mingw 5.0.3
(default on Ubuntu Bionic).

Since we don't really need the extra parameters, we'll switch
to GetOverlappedResult.

We're doing this mostly for testing purposes as the mingw 5.0.3
runtime is known to be broken.

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/tools/rbd_wnbd/rbd_wnbd.cc