Просмотр исходного кода

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
Родитель
Сommit
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"
 
-#ifndef S_ISLNK
-# define S_ISLNK(mode) ((mode&0xF000) == S_IFLNK)
-#endif
-
 /* Simple structure to store information about a file.
  */
 struct file_info {