Skip to content

Commit

Permalink
purego: add constant RTLD_GLOBAL (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
TotallyGamerJet authored May 21, 2022
1 parent d5a24be commit 36e492b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dl_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import (
"unsafe"
)

const RTLD_GLOBAL = 0x8

const RTLD_DEFAULT = ^uintptr(1)

func cString(name string) *byte {
Expand Down

0 comments on commit 36e492b

Please sign in to comment.