Eliminate SEEK_FOO and [RWXF]_OK definitions from system.h

- systems not defining these constants are broken beyond our caring
This commit is contained in:
Panu Matilainen 2010-01-05 11:45:28 +02:00
parent cd174374ff
commit af3c8690d4
1 changed files with 0 additions and 12 deletions

View File

@ -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))