Skip to content

Commit

Permalink
fixed undefined platformSpecificStat for non-windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
djherbis committed Jan 24, 2016
1 parent f32f202 commit 7defafd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions use_generic_stat.go
Expand Up @@ -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
}

0 comments on commit 7defafd

Please sign in to comment.