File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -800,15 +800,10 @@ def constants(name)
800
800
CLOCK_UPTIME_RAW
801
801
CLOCK_UPTIME_RAW_APPROX
802
802
CLOCK_VIRTUAL
803
+ CLOCK_BOOTTIME
804
+ CLOCK_REALTIME_ALARM
805
+ CLOCK_BOOTTIME_ALARM
803
806
]
804
-
805
- # Give the following clock ids a default so they works on newer Linux built by older Linux:
806
- # https://github.com/oracle/truffleruby/issues/1480
807
- cg . const 'CLOCK_BOOTTIME' , ( 7 if RUBY_PLATFORM =~ /linux/ )
808
- # These 2 are not supported on linux-aarch64:
809
- # https://patchwork.kernel.org/project/linux-arm-kernel/patch/[email protected] /#21274245
810
- cg . const 'CLOCK_REALTIME_ALARM' , ( 8 if RUBY_PLATFORM =~ /x86_64-linux/ )
811
- cg . const 'CLOCK_BOOTTIME_ALARM' , ( 9 if RUBY_PLATFORM =~ /x86_64-linux/ )
812
807
end
813
808
814
809
TypesGenerator . new . generate
You can’t perform that action at this time.
0 commit comments