diff options
| author | Pietro Gagliardi <[email protected]> | 2015-12-13 02:24:43 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-12-13 02:24:43 -0500 |
| commit | 4760ad7c5a4f9a6db8c7adb5af8c10a27badb199 (patch) | |
| tree | 56436a80eb0e9aa8c4151f8fa2555e3a76ea4d8c /link_windows.go | |
| parent | 4689c6c0ab0bfe1b8e0dec7d2d2072275022b55f (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 'link_windows.go')
| -rw-r--r-- | link_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 +} |
