diff --git a/appveyor.yml b/appveyor.yml index dc8f0fe..56f66a2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -67,7 +67,7 @@ build_script: test_script: # Unit tests - ps: Add-AppveyorTest "Unit Tests" -Outcome Running - - go test -u github.com/go-vgo/robotgo/... + - go test -u github.com/robotn/gohook... - ps: Update-AppveyorTest "Unit Tests" -Outcome Passed # notifications: diff --git a/event/goEvent.h b/event/goEvent.h index b3467fb..ecff854 100644 --- a/event/goEvent.h +++ b/event/goEvent.h @@ -12,6 +12,7 @@ #include #endif +#include #include "pub.h" diff --git a/hook.go b/hook.go index 7984e5e..7454f10 100644 --- a/hook.go +++ b/hook.go @@ -3,10 +3,11 @@ package hook /* #cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations #cgo darwin LDFLAGS: -framework Cocoa + #cgo linux CFLAGS:-I/usr/src #cgo linux LDFLAGS: -L/usr/src -lX11 -lXtst #cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11 -#cgo windows LDFLAGS: -lgdi32 -luser32 +//#cgo windows LDFLAGS: -lgdi32 -luser32 #include "event/goEvent.h" // #include "event/hook_async.h"