Remove some obsolete configure tests, ancient Unix systems are no
longer supported.
This commit is contained in:
@@ -118,19 +118,6 @@
|
||||
# define STDERR_FILENO 2
|
||||
#endif
|
||||
|
||||
/*
|
||||
* These should be defined in <unistd.h> but not everyone has them.
|
||||
*/
|
||||
#ifndef SEEK_SET
|
||||
# define SEEK_SET 0
|
||||
#endif
|
||||
#ifndef SEEK_CUR
|
||||
# define SEEK_CUR 1
|
||||
#endif
|
||||
#ifndef SEEK_END
|
||||
# define SEEK_END 2
|
||||
#endif
|
||||
|
||||
/*
|
||||
* BSD defines these in <sys/param.h> but others may not.
|
||||
*/
|
||||
@@ -149,22 +136,6 @@ int isblank(int);
|
||||
# define isblank(_x) ((_x) == ' ' || (_x) == '\t')
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Old BSD systems lack strchr(), strrchr(), memset() and memcpy()
|
||||
*/
|
||||
#if !defined(HAVE_STRCHR) && !defined(strchr)
|
||||
# define strchr(_s, _c) index(_s, _c)
|
||||
#endif
|
||||
#if !defined(HAVE_STRRCHR) && !defined(strrchr)
|
||||
# define strrchr(_s, _c) rindex(_s, _c)
|
||||
#endif
|
||||
#if !defined(HAVE_MEMCPY) && !defined(memcpy)
|
||||
# define memcpy(_d, _s, _n) (bcopy(_s, _d, _n))
|
||||
#endif
|
||||
#if !defined(HAVE_MEMSET) && !defined(memset)
|
||||
# define memset(_s, _x, _n) (bzero(_s, _n))
|
||||
#endif
|
||||
|
||||
/*
|
||||
* NCR's SVr4 has _innetgr(3) instead of innetgr(3) for some reason.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user