Skip to content

Commit

Permalink
Add missing NOTE_MACHTIME and NOTE_MACH_CONTINUOUS_TIME constants to …
Browse files Browse the repository at this point in the history
…apple.
  • Loading branch information
byteallen committed Aug 29, 2024
1 parent 5431bdb commit b693854
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libc-test/semver/apple.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,8 @@ NOTE_FORK
NOTE_LEEWAY
NOTE_LINK
NOTE_LOWAT
NOTE_MACHTIME
NOTE_MACH_CONTINUOUS_TIME
NOTE_NONE
NOTE_NSECONDS
NOTE_PCTRLMASK
Expand Down
2 changes: 2 additions & 0 deletions src/unix/bsd/apple/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4508,6 +4508,8 @@ pub const NOTE_ABSOLUTE: u32 = 0x00000008;
pub const NOTE_LEEWAY: u32 = 0x00000010;
pub const NOTE_CRITICAL: u32 = 0x00000020;
pub const NOTE_BACKGROUND: u32 = 0x00000040;
pub const NOTE_MACH_CONTINUOUS_TIME: u32 = 0x00000080;
pub const NOTE_MACHTIME: u32 = 0x00000100;
pub const NOTE_TRACK: u32 = 0x00000001;
pub const NOTE_TRACKERR: u32 = 0x00000002;
pub const NOTE_CHILD: u32 = 0x00000004;
Expand Down

0 comments on commit b693854

Please sign in to comment.