@@ -364,8 +364,8 @@ public static void load(NativeConfiguration configuration, RubyContext context)
364
364
configuration .config ("platform.socket.PF_ISDN" , 34 );
365
365
configuration .config ("platform.socket.AF_LOCAL" , 1 );
366
366
configuration .config ("platform.socket.PF_LOCAL" , 1 );
367
- configuration .config ("platform.socket.AF_MAX" , 44 );
368
- configuration .config ("platform.socket.PF_MAX" , 44 );
367
+ configuration .config ("platform.socket.AF_MAX" , 45 );
368
+ configuration .config ("platform.socket.PF_MAX" , 45 );
369
369
configuration .config ("platform.socket.AF_PACKET" , 17 );
370
370
configuration .config ("platform.socket.PF_PACKET" , 17 );
371
371
configuration .config ("platform.socket.AF_ROUTE" , 16 );
@@ -698,6 +698,8 @@ public static void load(NativeConfiguration configuration, RubyContext context)
698
698
configuration .config ("platform.dlopen.RTLD_NOW" , 2 );
699
699
configuration .config ("platform.dlopen.RTLD_LOCAL" , 0 );
700
700
configuration .config ("platform.dlopen.RTLD_GLOBAL" , 256 );
701
+ configuration .config ("platform.dlopen.RTLD_NEXT" , -1 );
702
+ configuration .config ("platform.dlopen.RTLD_DEFAULT" , 0 );
701
703
configuration .config ("platform.clocks.CLOCK_BOOTTIME" , 7 );
702
704
configuration .config ("platform.clocks.CLOCK_BOOTTIME_ALARM" , 9 );
703
705
configuration .config ("platform.clocks.CLOCK_MONOTONIC" , 1 );
@@ -736,6 +738,9 @@ public static void load(NativeConfiguration configuration, RubyContext context)
736
738
configuration .config ("platform.typedef.uintptr_t" , string (context , "ulong" ));
737
739
configuration .config ("platform.typedef.intmax_t" , string (context , "long" ));
738
740
configuration .config ("platform.typedef.uintmax_t" , string (context , "ulong" ));
741
+ configuration .config ("platform.typedef.ptrdiff_t" , string (context , "long" ));
742
+ configuration .config ("platform.typedef.size_t" , string (context , "ulong" ));
743
+ configuration .config ("platform.typedef.wchar_t" , string (context , "int" ));
739
744
configuration .config ("platform.typedef.u_char" , string (context , "uchar" ));
740
745
configuration .config ("platform.typedef.u_short" , string (context , "ushort" ));
741
746
configuration .config ("platform.typedef.u_int" , string (context , "uint" ));
@@ -764,7 +769,6 @@ public static void load(NativeConfiguration configuration, RubyContext context)
764
769
configuration .config ("platform.typedef.timer_t" , string (context , "pointer" ));
765
770
configuration .config ("platform.typedef.useconds_t" , string (context , "uint" ));
766
771
configuration .config ("platform.typedef.suseconds_t" , string (context , "long" ));
767
- configuration .config ("platform.typedef.size_t" , string (context , "ulong" ));
768
772
configuration .config ("platform.typedef.ulong" , string (context , "ulong" ));
769
773
configuration .config ("platform.typedef.ushort" , string (context , "ushort" ));
770
774
configuration .config ("platform.typedef.uint" , string (context , "uint" ));
0 commit comments