diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-01-04 16:07:11 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-01-04 16:07:11 +0200 |
commit | 190d2b4783a1486370e3d7ebe12278dede7e16bf (patch) | |
tree | 22f4201b4a9eaa5d9c54b6aa6c48fd4555a9655d /system.h | |
parent | 5f0c9a3882d2b482105711c0b74b5f8c1e9b48d5 (diff) | |
download | rpm-190d2b4783a1486370e3d7ebe12278dede7e16bf.tar.gz rpm-190d2b4783a1486370e3d7ebe12278dede7e16bf.tar.bz2 rpm-190d2b4783a1486370e3d7ebe12278dede7e16bf.zip |
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
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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 <strings.h> #endif |