summaryrefslogtreecommitdiffstatshomepage
path: root/imagelist.go
diff options
context:
space:
mode:
authorJoseph Watson <jwatson@genisyscu.org>2015-09-15 12:59:53 -0400
committerJoseph Watson <jwatson@genisyscu.org>2015-09-15 12:59:53 -0400
commitcff91fbf85bb4d33ad13fe624bcff872ba06ca92 (patch)
treeca4beb691dd74cbd35882b68f7eaf9cfbdbe0ecb /imagelist.go
parentDon't panic if win.AddClipboardFormatListener fails (it's not supported on XP) (diff)
downloadwireguard-windows-cff91fbf85bb4d33ad13fe624bcff872ba06ca92.tar.xz
wireguard-windows-cff91fbf85bb4d33ad13fe624bcff872ba06ca92.zip
Add build tags to allow this library to be included in a cross platform program. This allows for several things:
1) Develop on something other then a windows box, and cross compile the program to target windows. 2) Develop a program that will run on the command line for any OS, but also have a gui when run on windows. 3) Use the walk library for the windows gui, and some other library for a gui on other platforms.
Diffstat (limited to 'imagelist.go')
-rw-r--r--imagelist.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/imagelist.go b/imagelist.go
index c08ef319..a23bb6c6 100644
--- a/imagelist.go
+++ b/imagelist.go
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build windows
+
package walk
import (