summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-21 17:25:23 +0000
committermidipix <writeonce@midipix.org>2025-06-21 17:25:23 +0000
commit7ff5131f669b21ae12df7ca3c1dc37c2e316b349 (patch)
tree19f20276b5462ee807a02dcc780b121ff9a3f0dc
parenta0915299ee6c3ca770398f6fa1e59df063d6a892 (diff)
downloadsltdl-7ff5131f669b21ae12df7ca3c1dc37c2e316b349.tar.bz2
sltdl-7ff5131f669b21ae12df7ca3c1dc37c2e316b349.tar.xz
api: provided the LTDL_SET_PRELOADED_SYMBOLS macro for backward compatibility.
-rw-r--r--include/sltdl/sltdl_compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sltdl/sltdl_compat.h b/include/sltdl/sltdl_compat.h
index e2ae714..a346531 100644
--- a/include/sltdl/sltdl_compat.h
+++ b/include/sltdl/sltdl_compat.h
@@ -27,6 +27,11 @@ extern "C" {
#define LT_ERROR_CANNOT_CLOSE SLTDL_ERR_CANNOT_CLOSE
#define LT_ERROR_SYMBOL_NOT_FOUND SLTDL_ERR_SYMBOL_NOT_FOUND
+#define LTDL_SET_PRELOADED_SYMBOLS() lt_dlpreload_modctl( \
+ lt_preloaded_symbols, \
+ SLTDL_MODCTL_PRELOAD_DEFAULT)
+
+
#ifdef __cplusplus
}
#endif