From 4760ad7c5a4f9a6db8c7adb5af8c10a27badb199 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 13 Dec 2015 02:24:43 -0500 Subject: Added OS X building. Go 1.5 required because of https://github.com/golang/go/issues/9411 which affects this. Also set up proper multithreading on OS X. Currently crashes due to similar issue I've had with libui. --- link_windows.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'link_windows.go') diff --git a/link_windows.go b/link_windows.go index b385907..279d3a2 100644 --- a/link_windows.go +++ b/link_windows.go @@ -4,3 +4,7 @@ package ui // #cgo LDFLAGS: -L${SRCDIR} -lui import "C" + +func ensureMainThread() { + // do nothing; Windows doesn't care which thread we're on so long as we don't change it after starting +} -- cgit v1.2.3