Skip to content

Commit

Permalink
freebsd 11 now has utimensat
Browse files Browse the repository at this point in the history
  • Loading branch information
justincormack committed Sep 18, 2015
1 parent 7065b0d commit b6bb892
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions syscall/freebsd/constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1335,5 +1335,13 @@ c.CAP_RIGHTS_VERSION = 0 -- we do not understand others

end -- freebsd >= 10

if version >= 11 then
-- for utimensat
c.UTIME = strflag {
NOW = -1,
OMIT = -2,
}
end

return c

0 comments on commit b6bb892

Please sign in to comment.