]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
include: Define dlfcn.h on Windows 45383/head
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Mon, 7 Mar 2022 08:12:23 +0000 (08:12 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Mar 2022 16:52:05 +0000 (17:52 +0100)
"dlfcn.h" is not available on Windows, so Ceph provides a drop-in
replacement through "dlfcn_compat.h".

The issue is that directly importing "dlfcn.h" fails at the moment,
for which reason we'll simply add a file called "dlfcn.h" that
includes "dlfcn_compat.h".

Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
(cherry picked from commit 8b7432b9e914c47bbce74bf999e4c7aef57561e2)

src/include/win32/dlfcn.h [new file with mode: 0644]

diff --git a/src/include/win32/dlfcn.h b/src/include/win32/dlfcn.h
new file mode 100644 (file)
index 0000000..32e51f1
--- /dev/null
@@ -0,0 +1 @@
+#include "../dlfcn_compat.h"