aboutsummaryrefslogtreecommitdiff
path: root/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn.h')
-rw-r--r--dlfcn.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dlfcn.h b/dlfcn.h
index 711e431..c0d7777 100644
--- a/dlfcn.h
+++ b/dlfcn.h
@@ -44,8 +44,8 @@ extern "C" {
44 * Note: All other RTLD_* flags in any dlfcn.h are not standard compliant. 44 * Note: All other RTLD_* flags in any dlfcn.h are not standard compliant.
45 */ 45 */
46 46
47#define RTLD_DEFAULT 0 47#define RTLD_DEFAULT ((void *)0)
48#define RTLD_NEXT 0 48#define RTLD_NEXT ((void *)-1)
49 49
50DLFCN_EXPORT void *dlopen ( const char *file, int mode ); 50DLFCN_EXPORT void *dlopen ( const char *file, int mode );
51DLFCN_EXPORT int dlclose(void *handle); 51DLFCN_EXPORT int dlclose(void *handle);