bring back -DMKSH_UNEMPLOYED default on BeOS as it’s less usable otherwise

This commit is contained in:
tg 2012-04-06 12:57:53 +00:00
parent 0c3f231d37
commit 5e12953cfe
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.536 2012/04/01 17:48:24 tg Exp $' srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.537 2012/04/06 12:57:53 tg Exp $'
#- #-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 # 2011, 2012
@ -466,6 +466,8 @@ BeOS)
oswarn="$oswarn${nl}itself in a second stage" oswarn="$oswarn${nl}itself in a second stage"
;; ;;
esac esac
# BeOS has no real tty either
add_cppflags -DMKSH_UNEMPLOYED
;; ;;
BSD/OS) BSD/OS)
: ${HAVE_SETLOCALE_CTYPE=0} : ${HAVE_SETLOCALE_CTYPE=0}
@ -1369,7 +1371,7 @@ else
#define EXTERN #define EXTERN
#define MKSH_INCLUDES_ONLY #define MKSH_INCLUDES_ONLY
#include "sh.h" #include "sh.h"
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.536 2012/04/01 17:48:24 tg Exp $"); __RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.537 2012/04/06 12:57:53 tg Exp $");
int main(void) { printf("Hello, World!\n"); return (0); } int main(void) { printf("Hello, World!\n"); return (0); }
EOF EOF
case $cm in case $cm in