adjust build tags for tamago
This commit is contained in:
parent
6cd5922a04
commit
202a3401e7
4 changed files with 20 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build !windows && !linux && !wasm && !plan9
|
//go:build !windows && !linux && !wasm && !plan9 && !tamago
|
||||||
|
|
||||||
/* SPDX-License-Identifier: MIT
|
/* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
|
|
||||||
17
ipc/uapi_tamago.go
Normal file
17
ipc/uapi_tamago.go
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
//go:build tamago
|
||||||
|
|
||||||
|
/* SPDX-License-Identifier: MIT
|
||||||
|
*
|
||||||
|
* Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package ipc
|
||||||
|
|
||||||
|
// Made up sentinel error codes for tamago platform.
|
||||||
|
const (
|
||||||
|
IpcErrorIO = 1
|
||||||
|
IpcErrorInvalid = 2
|
||||||
|
IpcErrorPortInUse = 3
|
||||||
|
IpcErrorUnknown = 4
|
||||||
|
IpcErrorProtocol = 5
|
||||||
|
)
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build !windows && !wasm && !plan9
|
//go:build !windows && !wasm && !plan9 && !tamago
|
||||||
|
|
||||||
/* SPDX-License-Identifier: MIT
|
/* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
//go:build windows || wasm || plan9
|
//go:build windows || wasm || plan9 || tamago
|
||||||
|
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue