diff options
author | Silvio Traversaro <pegua1@gmail.com> | 2019-02-14 14:57:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-14 14:57:29 +0100 |
commit | 278c782a3205dbe49de4233b3bd1e68687a9998b (patch) | |
tree | 71d0ea65a3c604982b20445384392fbdbce6d136 /dlfcn.h | |
parent | 1530bed62922128ed0c2cdc436a55649ff9423fe (diff) | |
parent | 63d7bda42322bb0916e30bc547123a8330a4dcc2 (diff) | |
download | dlfcn-win32-278c782a3205dbe49de4233b3bd1e68687a9998b.tar.gz dlfcn-win32-278c782a3205dbe49de4233b3bd1e68687a9998b.tar.bz2 dlfcn-win32-278c782a3205dbe49de4233b3bd1e68687a9998b.zip |
Merge pull request #44 from pali/master
Fix resolving global symbols and implement RTLD_DEFAULT and RTLD_NEXT
Diffstat (limited to 'dlfcn.h')
-rw-r--r-- | dlfcn.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
50 | DLFCN_EXPORT void *dlopen ( const char *file, int mode ); | 50 | DLFCN_EXPORT void *dlopen ( const char *file, int mode ); |
51 | DLFCN_EXPORT int dlclose(void *handle); | 51 | DLFCN_EXPORT int dlclose(void *handle); |