summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-12-13 02:24:43 -0500
committerPietro Gagliardi <[email protected]>2015-12-13 02:24:43 -0500
commit4760ad7c5a4f9a6db8c7adb5af8c10a27badb199 (patch)
tree56436a80eb0e9aa8c4151f8fa2555e3a76ea4d8c /main.go
parent4689c6c0ab0bfe1b8e0dec7d2d2072275022b55f (diff)
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.
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index c7cb51a..5f8f624 100644
--- a/main.go
+++ b/main.go
@@ -40,7 +40,7 @@ func Main(f func()) error {
func start(errchan chan error, f func()) {
runtime.LockOSThread()
- // TODO set main thread on OS X
+ ensureMainThread()
// TODO HEAP SAFETY
opts := C.uiInitOptions{}