projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd17437
)
Eliminate SEEK_FOO and [RWXF]_OK definitions from system.h
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 5 Jan 2010 09:45:28 +0000
(11:45 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 5 Jan 2010 09:45:28 +0000
(11:45 +0200)
- systems not defining these constants are broken beyond our caring
system.h
patch
|
blob
|
history
diff --git
a/system.h
b/system.h
index
6043292
..
664b269
100644
(file)
--- 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))