mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 09:02:44 +00:00
BSD 4.4 compatibility fix
Submitted by: Ollivier Robert
This commit is contained in:
parent
f37da39bb9
commit
3d9528063c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4858
@ -423,17 +423,17 @@ typedef int pid_t;
|
||||
/*
|
||||
** 386BSD / FreeBSD 1.0E / NetBSD (all architectures, all versions)
|
||||
**
|
||||
** 4.3BSD clone, closer to 4.4BSD
|
||||
** Were 4.3BSD clone, closer to 4.4BSD
|
||||
** Now real 4.4BSD.
|
||||
**
|
||||
** See also BSD defines.
|
||||
*/
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
# define HASUNSETENV 1 /* has unsetenv(3) call */
|
||||
# define HASSETSID 1 /* has the setsid(2) POSIX syscall */
|
||||
# ifdef __NetBSD__
|
||||
# define HASUNAME 1 /* has uname(2) syscall */
|
||||
# endif
|
||||
# define HASUNAME 1 /* has uname(2) syscall */
|
||||
# define GIDSET_T gid_t
|
||||
# include <sys/cdefs.h>
|
||||
# define ERRLIST_PREDEFINED /* don't declare sys_errlist */
|
||||
# ifndef LA_TYPE
|
||||
|
Loading…
Reference in New Issue
Block a user