]> Sergey Matveev's repositories - btrtrc.git/commitdiff
added disable_libutp build flag usage (#215)
authorDenis <denis.kuzmenok@gmail.com>
Wed, 6 Dec 2017 00:56:26 +0000 (02:56 +0200)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 6 Dec 2017 00:56:26 +0000 (11:56 +1100)
utp_go.go
utp_libutp.go

index 849c17ba8b763629dd82880cfdd22e403a60350f..c04bed3b8ac9e0aecbfb697d138b005e8fa70e3a 100644 (file)
--- a/utp_go.go
+++ b/utp_go.go
@@ -1,4 +1,4 @@
-// +build !cgo
+// +build !cgo disable_libutp
 
 package torrent
 
index 73770123f60eef2c18543c1fba457008d619d036..94eba7cbc425d6821c7a2f7f767960783c3d192c 100644 (file)
@@ -1,4 +1,4 @@
-// +build cgo
+// +build cgo,!disable_libutp
 
 package torrent