瀏覽代碼

fix minor namespace issue in tar.h

TSVTX is XSI-shaded.
Rich Felker 7 年之前
父節點
當前提交
d93c0740d8
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/tar.h

+ 2 - 0
include/tar.h

@@ -3,7 +3,9 @@
 
 #define TSUID   04000
 #define TSGID   02000
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_XOPEN_SOURCE)
 #define TSVTX   01000
+#endif
 #define TUREAD  00400
 #define TUWRITE 00200
 #define TUEXEC  00100