[erlang-patches] Add 'global' driver option to erl_ddll:try_load/3

Olivier Girondel olivier.girondel@REDACTED
Wed Mar 20 18:09:04 CET 2013


On Wed, Mar 20, 2013 at 6:01 PM, Fredrik <fredrik@REDACTED> wrote:
> Does not seem to build on windows:
>
> beam/erl_bif_ddll.c(1534) : error C2065: 'RTLD_GLOBAL' : undeclared
> identifier

I just pushed this:

commit bdd0017f087a42f328f77debfb658ab0a0b2bc00
Author: Olivier Girondel <olivier@REDACTED>
Date:   Wed Mar 20 18:06:13 2013 +0100

    Add missing RTLD_GLOBAL definition

diff --git a/erts/emulator/beam/erl_bif_ddll.c
b/erts/emulator/beam/erl_bif_ddll.c
index 91a083c..af8d3be 100644
--- a/erts/emulator/beam/erl_bif_ddll.c
+++ b/erts/emulator/beam/erl_bif_ddll.c
@@ -53,6 +53,9 @@
 #define DDLL_SMP 0
 #endif

+#ifndef RTLD_GLOBAL
+#define RTLD_GLOBAL    0x00100
+#endif

Can you please re-fetch ?

Thanks,

-- 
Olivier



More information about the erlang-patches mailing list