Fix build attempt 3 (add stub for host_cgo.go)

pull/470/head
Tatiana Borisova 8 years ago
parent 48fc561289
commit 1be443f398

@ -0,0 +1,3 @@
// +build cgo
package gopsutil

@ -4,7 +4,7 @@
package host
// #cgo LDFLAGS: -framework IOKit
// #include "include/smc.c"
// #include "smc.h"
import "C"
func SensorsTemperatures() ([]TemperatureStat, error) {

Loading…
Cancel
Save