Minix 3 has no S_ISSOCK (probably not even UNIX® domain sockets)
and lacks other things (rlimit stuff), so it won't make it today
This commit is contained in:
parent
17d0fd1e23
commit
e0e432347b
7
Build.sh
7
Build.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $MirOS: src/bin/mksh/Build.sh,v 1.162 2007/03/04 05:03:57 tg Exp $
|
# $MirOS: src/bin/mksh/Build.sh,v 1.163 2007/03/04 05:14:09 tg Exp $
|
||||||
#-
|
#-
|
||||||
# Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
|
# Environment used: CC CFLAGS CPP CPPFLAGS LDFLAGS LIBS NOWARN NROFF TARGET_OS
|
||||||
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM
|
# CPPFLAGS recognised: MKSH_SMALL MKSH_ASSUME_UTF8 MKSH_NEED_MKNOD MKSH_NOPWNAM
|
||||||
@ -215,8 +215,9 @@ Linux)
|
|||||||
;;
|
;;
|
||||||
Minix)
|
Minix)
|
||||||
CPPFLAGS="$CPPFLAGS -D_MINIX -D_POSIX_SOURCE"
|
CPPFLAGS="$CPPFLAGS -D_MINIX -D_POSIX_SOURCE"
|
||||||
warn=" but might work with the GNU tools"
|
warn=' and will currently not work'
|
||||||
warn="$warn$nl but not with ACK - /usr/bin/cc - yet)"
|
# warn=" but might work with the GNU tools"
|
||||||
|
# warn="$warn$nl but not with ACK - /usr/bin/cc - yet)"
|
||||||
;;
|
;;
|
||||||
MirBSD)
|
MirBSD)
|
||||||
;;
|
;;
|
||||||
|
5
sh.h
5
sh.h
@ -8,7 +8,7 @@
|
|||||||
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
|
/* $OpenBSD: c_test.h,v 1.4 2004/12/20 11:34:26 otto Exp $ */
|
||||||
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
|
/* $OpenBSD: tty.h,v 1.5 2004/12/20 11:34:26 otto Exp $ */
|
||||||
|
|
||||||
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.117 2007/03/04 05:04:54 tg Exp $"
|
#define MKSH_SH_H_ID "$MirOS: src/bin/mksh/sh.h,v 1.118 2007/03/04 05:14:10 tg Exp $"
|
||||||
#define MKSH_VERSION "R29 2007/03/04"
|
#define MKSH_VERSION "R29 2007/03/04"
|
||||||
|
|
||||||
#if HAVE_SYS_PARAM_H
|
#if HAVE_SYS_PARAM_H
|
||||||
@ -159,6 +159,9 @@ typedef int bool;
|
|||||||
#ifndef S_ISTXT
|
#ifndef S_ISTXT
|
||||||
#define S_ISTXT 0001000
|
#define S_ISTXT 0001000
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef S_ISSOCK
|
||||||
|
#define S_ISSOCK(m) ((m & 0170000) == 0140000)
|
||||||
|
#endif
|
||||||
#ifndef DEFFILEMODE
|
#ifndef DEFFILEMODE
|
||||||
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user