From bceb512e7804823376df7798caa5a3881b87035c Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 13 Jun 2021 22:59:02 +0900 Subject: [PATCH] internal/glfw: Bug fix: build failure with GOOS=js Updates #1672 --- internal/glfw/callback_notwindows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/glfw/callback_notwindows.go b/internal/glfw/callback_notwindows.go index dcd0c7938..7757e0ce7 100644 --- a/internal/glfw/callback_notwindows.go +++ b/internal/glfw/callback_notwindows.go @@ -12,8 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !windows -// +build !windows +//go:build !js && !windows +// +build !js,!windows package glfw