summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-04 16:07:11 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-04 16:07:11 +0200
commit190d2b4783a1486370e3d7ebe12278dede7e16bf (patch)
tree22f4201b4a9eaa5d9c54b6aa6c48fd4555a9655d /system.h
parent5f0c9a3882d2b482105711c0b74b5f8c1e9b48d5 (diff)
downloadlibrpm-tizen-190d2b4783a1486370e3d7ebe12278dede7e16bf.tar.gz
librpm-tizen-190d2b4783a1486370e3d7ebe12278dede7e16bf.tar.bz2
librpm-tizen-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.h12
1 files changed, 0 insertions, 12 deletions
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 <strings.h>
#endif