]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
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)
commit87be3b21747eafe6c4969075e082d8b5956ee112
treec19480985ebeda625dbab22cd65085c93a8d5718
parent77b782875d733496cac8473a67f611f0795b892b
include: Define dlfcn.h on Windows

"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]