]> git.ipfire.org Git - thirdparty/libbsd.git/commit
Only define S_ISTXT if S_ISVTX is defined
authorAaron Dierking <aarond@fb.com>
Thu, 14 Jun 2018 18:38:32 +0000 (11:38 -0700)
committerGuillem Jover <guillem@hadrons.org>
Mon, 18 Jun 2018 02:31:00 +0000 (04:31 +0200)
commit3d9c6c08ed254cfe16fc53867b1fe6f12031873c
tree1632489457dce55a843081cb3dd671d637a733de
parentb9dee9f69a6e9f03418bde5638642ddc8df18f74
Only define S_ISTXT if S_ISVTX is defined

Windows doesn't provide S_ISVTX. Prefer not defining it rather than
defining it to something invalid.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
include/bsd/unistd.h