Skip to content

Commit

Permalink
Merge pull request #3883 from byteallen/patch-1
Browse files Browse the repository at this point in the history
Add missing `NOTE_*` constants to apple
  • Loading branch information
tgross35 authored Aug 29, 2024
2 parents 0f9b760 + b693854 commit 5c8a32d
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 @@ -4497,6 +4497,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 5c8a32d

Please sign in to comment.