瀏覽代碼

dpkg-deb: Remove S_ISLNK compatibility definition

The rest of the code uses it unconditionally, and no one has complained,
it's also present in all POSIX.1-2001 conforming systems.
Guillem Jover 17 年之前
父節點
當前提交
668466a217
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      dpkg-deb/build.c

+ 0 - 4
dpkg-deb/build.c

@@ -52,10 +52,6 @@
 
 
 #include "dpkg-deb.h"
 #include "dpkg-deb.h"
 
 
-#ifndef S_ISLNK
-# define S_ISLNK(mode) ((mode&0xF000) == S_IFLNK)
-#endif
-
 /* Simple structure to store information about a file.
 /* Simple structure to store information about a file.
  */
  */
 struct file_info {
 struct file_info {