]> Sergey Matveev's repositories - btrtrc.git/commitdiff
storage: Only include sqlite3 piece completion implementation if cgo is enabled
authorMatt Joiner <anacrolix@gmail.com>
Tue, 25 Oct 2016 08:54:09 +0000 (19:54 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 25 Oct 2016 08:54:09 +0000 (19:54 +1100)
Issue #124.

storage/sqlitePieceCompletion.go

index 3f6ef67b59297a2375149567f644f35245abe971..831f6a1ebc5ea6ebb9e523444aa6d7f88e880f70 100644 (file)
@@ -1,3 +1,5 @@
+// +build cgo
+
 package storage
 
 import (