Skip to content

Commit

Permalink
adding unix 386 fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed Jul 14, 2023
1 parent 4c3e1e5 commit d338c03
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion syscallutil/syscall_unix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build darwin || linux
//go:build (darwin || linux) && !386

package syscallutil

Expand Down
9 changes: 9 additions & 0 deletions syscallutil/syscall_unix_386.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//go:build (darwin || linux) && 386

package syscallutil

import "github.com/ebitengine/purego"

func loadLibrary(name string) (uintptr, error) {
return -1, errors.New("not implemented")
}

0 comments on commit d338c03

Please sign in to comment.