From 55ddbc3e5d70f03bc52aece95fffb6abad47dbf4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 23 Jan 2013 22:18:45 -0500 Subject: [PATCH] add RTLD_NODELETE flag for dlopen this is a trivial no-op, because dlclose never deletes libraries. thus we might as well have it in the header in case some application wants it, since we're already providing it anyway. --- include/dlfcn.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dlfcn.h b/include/dlfcn.h index 5b57e8ac..e2f57b53 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -10,6 +10,7 @@ extern "C" { #define RTLD_LAZY 1 #define RTLD_NOW 2 #define RTLD_NOLOAD 4 +#define RTLD_NODELETE 4096 #define RTLD_GLOBAL 256 #define RTLD_LOCAL 0 -- 2.25.1