From af3c8690d48a6d08eebb530a1d771169d380770d Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 5 Jan 2010 11:45:28 +0200 Subject: [PATCH] Eliminate SEEK_FOO and [RWXF]_OK definitions from system.h - systems not defining these constants are broken beyond our caring --- system.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/system.h b/system.h index 6043292..664b269 100644 --- a/system.h +++ b/system.h @@ -78,18 +78,6 @@ char *getenv (const char *name); #include #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 # define NLENGTH(direct) (strlen((direct)->d_name)) -- 2.7.4