summaryrefslogtreecommitdiff
path: root/link_windows_amd64.go
diff options
context:
space:
mode:
Diffstat (limited to 'link_windows_amd64.go')
-rw-r--r--link_windows_amd64.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/link_windows_amd64.go b/link_windows_amd64.go
new file mode 100644
index 0000000..7a9c08d
--- /dev/null
+++ b/link_windows_amd64.go
@@ -0,0 +1,12 @@
+// 13 december 2015
+
+package ui
+
+// #cgo LDFLAGS: ${SRCDIR}/libui_windows_amd64.lib ${SRCDIR}/libui_windows_amd64.res.o
+// /* note the order; also note the lack of uuid */
+// #cgo LDFLAGS: -luser32 -lkernel32 -lusp10 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -lmsvcrt
+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
+}