diff --git a/serial_linux.go b/serial_linux.go deleted file mode 120000 index ec037dc..0000000 --- a/serial_linux.go +++ /dev/null @@ -1 +0,0 @@ -serial_darwin.go \ No newline at end of file diff --git a/serial_darwin.go b/serial_posix.go similarity index 99% rename from serial_darwin.go rename to serial_posix.go index 6aef9b9..c9897ee 100644 --- a/serial_darwin.go +++ b/serial_posix.go @@ -1,3 +1,5 @@ +// +build !windows + package serial // #include diff --git a/serial_windows.go b/serial_windows.go index efe4a3b..f47aacc 100644 --- a/serial_windows.go +++ b/serial_windows.go @@ -1,3 +1,5 @@ +// +build windows + package serial import (