summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-20 04:32:42 +0000
committermidipix <writeonce@midipix.org>2025-06-20 04:32:42 +0000
commita4b26a91424f53d192d80c5ca470c7514b6fb254 (patch)
tree07721d982cdc7bf5c8e3fc4066e7ac01ccce40ea
parent2d052cbf6bce132770145aa99f9dddca53d7bc0c (diff)
downloadsltdl-a4b26a91424f53d192d80c5ca470c7514b6fb254.tar.bz2
sltdl-a4b26a91424f53d192d80c5ca470c7514b6fb254.tar.xz
sltdl.h: provide LT_DLSYM_CONST.
-rw-r--r--include/sltdl/sltdl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sltdl/sltdl.h b/include/sltdl/sltdl.h
index 60b2dd2..640d3d9 100644
--- a/include/sltdl/sltdl.h
+++ b/include/sltdl/sltdl.h
@@ -23,6 +23,9 @@ extern "C" {
/* exclusively support colon as the path element separator */
#define LT_PATHSEP_CHAR ':'
+/* modern frameworks only */
+#define LT_DLSYM_CONST const
+
/* default dlsym vtable, see also: slibtool -dlpreopen self */
#define lt_preloaded_symbols lt__PROGRAM__LTX_preloaded_symbols