Skip to content

Commit

Permalink
Add tentative ARM64-macos support
Browse files Browse the repository at this point in the history
I haven't checked the values, but I sincerely doubt they'd change.
  • Loading branch information
zenspider authored and sds committed Jun 3, 2021
1 parent 7b1069e commit c8145d8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/childprocess/unix/platform/arm64-macosx.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module ChildProcess::Unix::Platform
SIZEOF = {
:posix_spawn_file_actions_t => 8,
:posix_spawnattr_t => 8,
:sigset_t => 4
}
POSIX_SPAWN_RESETIDS = 1
POSIX_SPAWN_SETPGROUP = 2
POSIX_SPAWN_SETSIGDEF = 4
POSIX_SPAWN_SETSIGMASK = 8
end

0 comments on commit c8145d8

Please sign in to comment.