Commit 3d9c6c08 authored by Aaron Dierking's avatar Aaron Dierking Committed by Guillem Jover

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's avatarGuillem Jover <guillem@hadrons.org>
parent b9dee9f6
......@@ -41,7 +41,7 @@
#endif
#include <sys/stat.h>
#ifndef S_ISTXT
#if !defined(S_ISTXT) && defined(S_ISVTX)
#define S_ISTXT S_ISVTX
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment