diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-08-03 18:46:04 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-08-03 18:46:04 +0200 |
| commit | d71076c9826ddd66bfcc04b9a6ded9dbf540d239 (patch) | |
| tree | dfa089b196eacda8b07df4a221ed709f22e289f7 /lib/libc/include | |
| parent | 624fa8523a2c4158ddc9fce231181a9e8583a633 (diff) | |
| download | zig-d71076c9826ddd66bfcc04b9a6ded9dbf540d239.tar.gz zig-d71076c9826ddd66bfcc04b9a6ded9dbf540d239.zip | |
std.os.linux: Replace `@hasDecl()` with `!= void` check for VDSO.
If there is a VDSO, it will have clock_gettime(). The main thing we're concerned
about is architectures that don't have a VDSO at all, of which there are a few.
Diffstat (limited to 'lib/libc/include')
0 files changed, 0 insertions, 0 deletions
