From 190d2b4783a1486370e3d7ebe12278dede7e16bf Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 4 Jan 2010 16:07:11 +0200 Subject: Remove S_IFSOCK and S_IFLNK kludgery for ancient unixes - these are specified by POSIX 2001, it's not really rpm's job to provide them if the system doesn't --- system.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'system.h') diff --git a/system.h b/system.h index eadb176b3..890697e11 100644 --- a/system.h +++ b/system.h @@ -248,18 +248,6 @@ extern const char *__progname; #include "misc/fnmatch.h" #endif -#if ! HAVE_S_IFSOCK -#define S_IFSOCK (0xc000) -#endif - -#if ! HAVE_S_ISLNK -#define S_ISLNK(mode) ((mode & 0xf000) == S_IFLNK) -#endif - -#if ! HAVE_S_ISSOCK -#define S_ISSOCK(mode) ((mode & 0xf000) == S_IFSOCK) -#endif - #if NEED_STRINGS_H #include #endif -- cgit v1.2.1