diff --git a/internal/glfw/glfw/build.go b/internal/glfw/glfw/build.go index ad655abb7..99aa65934 100644 --- a/internal/glfw/glfw/build.go +++ b/internal/glfw/glfw/build.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw diff --git a/internal/glfw/glfw/c_glfw.go b/internal/glfw/glfw/c_glfw.go index c846405ab..cca9bb21c 100644 --- a/internal/glfw/glfw/c_glfw.go +++ b/internal/glfw/glfw/c_glfw.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw diff --git a/internal/glfw/glfw/context.go b/internal/glfw/glfw/context.go index f4dfa1fa1..f50967fd4 100644 --- a/internal/glfw/glfw/context.go +++ b/internal/glfw/glfw/context.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw diff --git a/internal/glfw/glfw/error.go b/internal/glfw/glfw/error.go index 5fe8400e3..368b5bf5a 100644 --- a/internal/glfw/glfw/error.go +++ b/internal/glfw/glfw/error.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw diff --git a/internal/glfw/glfw/glfw.go b/internal/glfw/glfw/glfw.go index 811d9a373..13eff35c5 100644 --- a/internal/glfw/glfw/glfw.go +++ b/internal/glfw/glfw/glfw.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw diff --git a/internal/glfw/glfw/input.go b/internal/glfw/glfw/input.go index a3b8341d3..e4eb1d779 100644 --- a/internal/glfw/glfw/input.go +++ b/internal/glfw/glfw/input.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw diff --git a/internal/glfw/glfw/monitor.go b/internal/glfw/glfw/monitor.go index 6143c5bf3..905e89b2c 100644 --- a/internal/glfw/glfw/monitor.go +++ b/internal/glfw/glfw/monitor.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw diff --git a/internal/glfw/glfw/native_linbsd_wayland.go b/internal/glfw/glfw/native_linbsd_wayland.go index 08a4b46be..5b71529be 100644 --- a/internal/glfw/glfw/native_linbsd_wayland.go +++ b/internal/glfw/glfw/native_linbsd_wayland.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build (linux && wayland) || (freebsd && wayland) || (netbsd && wayland) || (openbsd && wayland) +//go:build (freebsd || linux || netbsd || openbsd) && wayland package glfw diff --git a/internal/glfw/glfw/native_linbsd_x11.go b/internal/glfw/glfw/native_linbsd_x11.go index fe51c3149..7fa9692d0 100644 --- a/internal/glfw/glfw/native_linbsd_x11.go +++ b/internal/glfw/glfw/native_linbsd_x11.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build (linux && !wayland) || (freebsd && !wayland) || (netbsd && !wayland) || (openbsd && !wayland) +//go:build (freebsd || linux || netbsd || openbsd) && !wayland package glfw diff --git a/internal/glfw/glfw/util.go b/internal/glfw/glfw/util.go index 8e2822464..f32f17f08 100644 --- a/internal/glfw/glfw/util.go +++ b/internal/glfw/glfw/util.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw diff --git a/internal/glfw/glfw/window.go b/internal/glfw/glfw/window.go index 006e6adb6..29661d8a1 100644 --- a/internal/glfw/glfw/window.go +++ b/internal/glfw/glfw/window.go @@ -2,7 +2,7 @@ // SPDX-FileCopyrightText: 2012 The glfw3-go Authors // SPDX-FileCopyrightText: 2023 The Ebitengine Authors -//go:build !windows +//go:build darwin || freebsd || linux || netbsd || openbsd package glfw