From 4d07e5521ea811278f00f434fe2b8345ea1d8832 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 23 Jan 2013 22:07:45 -0500 Subject: add support for RTLD_NOLOAD to dlopen based on patch by Pierre Carrier that just added the flag constant, but with minimal additional code so that it actually works as documented. this is a nonstandard option but some major software (reportedly, Firefox) uses it and it was easy to add anyway. --- include/dlfcn.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/dlfcn.h') diff --git a/include/dlfcn.h b/include/dlfcn.h index 46c4e185..5b57e8ac 100644 --- a/include/dlfcn.h +++ b/include/dlfcn.h @@ -9,6 +9,7 @@ extern "C" { #define RTLD_LAZY 1 #define RTLD_NOW 2 +#define RTLD_NOLOAD 4 #define RTLD_GLOBAL 256 #define RTLD_LOCAL 0 -- cgit v1.2.1