a few more mksh-os2 inspired fixes

This commit is contained in:
tg
2015-07-09 19:28:21 +00:00
parent 3d8ba005e1
commit 041666eefb
4 changed files with 29 additions and 13 deletions

9
sh.h
View File

@@ -169,7 +169,7 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.734 2015/07/06 17:48:37 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.735 2015/07/09 19:28:21 tg Exp $");
#endif
#define MKSH_VERSION "R51 2015/07/06"
@@ -375,6 +375,13 @@ struct rusage {
/* OS-dependent additions (functions, variables, by OS) */
#ifdef MKSH_EXE_EXT
#undef MKSH_EXE_EXT
#define MKSH_EXE_EXT ".exe"
#else
#define MKSH_EXE_EXT ""
#endif
#if !HAVE_FLOCK_DECL
extern int flock(int, int);
#endif