]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include: Define dlfcn.h on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Mon, 7 Mar 2022 08:12:23 +0000 (08:12 +0000)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Mon, 7 Mar 2022 08:18:45 +0000 (08:18 +0000)
"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>
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"