* apollo68.h, apollov68.h, hp300.h, i386v.h, irix3.h: Remove
no-longer-used definitions of L_SET and L_INCR. * i386linux.h: Tweaks to smooth Linux build.
This commit is contained in:
parent
918c2f61e5
commit
1067cb773a
@ -17,10 +17,6 @@
|
||||
#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));
|
||||
|
@ -28,22 +28,6 @@
|
||||
|
||||
#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));
|
||||
|
@ -37,18 +37,6 @@ rename(from, to)
|
||||
#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 */
|
||||
|
@ -16,10 +16,6 @@
|
||||
#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
|
||||
@ -34,22 +30,6 @@
|
||||
#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));
|
||||
|
@ -17,13 +17,6 @@
|
||||
#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
|
||||
|
Loading…
x
Reference in New Issue
Block a user