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

Fredrik fredrik@REDACTED
Wed Mar 20 18:12:29 CET 2013


On 03/20/2013 06:09 PM, Olivier Girondel wrote:
> 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,
>
Re-fetched. Let's see how the building and testing goes.
Thanks,

-- 

BR Fredrik Gustafsson
Erlang OTP Team




More information about the erlang-patches mailing list