]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
compat: add win32 endianness helpers
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Wed, 20 Jan 2021 11:40:35 +0000 (11:40 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 22 Jan 2021 11:49:53 +0000 (11:49 +0000)
commit057660aec9f7435f92ac32e3ee902d601b09b540
tree8b79dd8ee8b70698a9e5ee22b572337a292c297d
parent1f9cabf8a806bc034c0e6c8b6681a0121d46a06b
compat: add win32 endianness helpers

The new QCOW migration helpers are using functions such as "be64toh",
which aren't provided by MINGW, breaking the "rbd" tool on Windows.

We'll define those endianness related helpers in compat.h

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
src/include/compat.h