no-longer-used definitions of L_SET and L_INCR.
* i386linux.h: Tweaks to smooth Linux build.
#define MAXPATHLEN 1024
#endif /* MAXPATHLEN */
-#ifndef L_SET
-# define L_SET 0
-#endif
-
#ifndef DONTDECLARE_MALLOC
extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (PTR, unsigned));
#include <string.h>
-/*
- * Might not need these. Leave them out for now.
- *
-#ifdef SEEK_SET
-# ifndef L_SET
-# define L_SET SEEK_SET
-# endif
-# endif
-
-#ifdef SEEK_CUR
-# ifndef L_INCR
-# define L_INCR SEEK_CUR
-# endif
-# endif
- */
-
#ifndef DONTDECLARE_MALLOC
extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (PTR, unsigned));
#include <string.h>
#define index(s,c) strchr(s,c)
#define rindex(s,c) strrchr(s,c)
-
-#ifdef SEEK_SET
-# ifndef L_SET
-# define L_SET SEEK_SET
-# endif
-# endif
-
-#ifdef SEEK_CUR
-# ifndef L_INCR
-# define L_INCR SEEK_CUR
-# endif
-# endif
*/
/* EXACT TYPES */
#define SEEK_CUR 1
#endif
-#ifndef L_SET
-# define L_SET SEEK_SET
-#endif
-
#define POSIX_UTIME
/* Some things that need to be defined in order to make code written for
#define index(s,c) strchr(s,c)
#define rindex(s,c) strrchr(s,c)
-/*
- * Might not need these. Leave them out for now.
- *
-#ifdef SEEK_SET
-# ifndef L_SET
-# define L_SET SEEK_SET
-# endif
-# endif
-
-#ifdef SEEK_CUR
-# ifndef L_INCR
-# define L_INCR SEEK_CUR
-# endif
-# endif
- */
-
#ifndef DONTDECLARE_MALLOC
extern PTR EXFUN(malloc,(unsigned));
extern PTR EXFUN(realloc, (PTR, unsigned));
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif
-#ifdef SEEK_SET
-# ifndef L_SET
-# define L_SET SEEK_SET
-# endif
-# endif
-
-
#if !defined (SEEK_SET)
#define SEEK_SET 0
#define SEEK_CUR 1