summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-01-05 11:45:28 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-01-05 11:45:28 +0200
commitaf3c8690d48a6d08eebb530a1d771169d380770d (patch)
treeebe2f2dca972de76cda3df2f59a20867db9188e3 /system.h
parentcd174374ffd0ee1cf5bea77905db4dbbc962aeda (diff)
downloadlibrpm-tizen-af3c8690d48a6d08eebb530a1d771169d380770d.tar.gz
librpm-tizen-af3c8690d48a6d08eebb530a1d771169d380770d.tar.bz2
librpm-tizen-af3c8690d48a6d08eebb530a1d771169d380770d.zip
Eliminate SEEK_FOO and [RWXF]_OK definitions from system.h
- systems not defining these constants are broken beyond our caring
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 604329252..664b269a3 100644
--- a/system.h
+++ b/system.h
@@ -78,18 +78,6 @@ char *getenv (const char *name);
#include <sys/file.h>
#endif
-#if !defined(SEEK_SET)
-#define SEEK_SET 0
-#define SEEK_CUR 1
-#define SEEK_END 2
-#endif
-#if !defined(F_OK)
-#define F_OK 0
-#define X_OK 1
-#define W_OK 2
-#define R_OK 4
-#endif
-
#ifdef HAVE_DIRENT_H
# include <dirent.h>
# define NLENGTH(direct) (strlen((direct)->d_name))