diff --git a/use_generic_stat.go b/use_generic_stat.go
index <HASH>..<HASH> 100644
--- a/use_generic_stat.go
+++ b/use_generic_stat.go
@@ -3,3 +3,8 @@
 package times
 
 const hasPlatformSpecificStat = false
+
+// do not use, only here to prevent "undefined" method error.
+func platformSpecficStat(name string) (Timespec, error) {
+	return nil, nil
+}
fixed undefined platformSpecificStat for non-windows builds