We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c82c2c commit dbfb412Copy full SHA for dbfb412
src/binary/object.cpp
@@ -14,7 +14,7 @@
14
#if IS_LINUX || IS_APPLE
15
#include <unistd.h>
16
#include <dlfcn.h>
17
- #if IS_LINUX
+ #if IS_LINUX && (defined(CPPTRACE_HAS_DL_FIND_OBJECT) || defined(CPPTRACE_HAS_DLADDR1))
18
#include <link.h> // needed for dladdr1's link_map info
19
#endif
20
#elif IS_WINDOWS
0 commit comments