diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-01-19 00:49:54 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-19 00:49:54 +0300 |
commit | 9f2eba2b90d7af573e1a86c6974db4fe33acbfe1 (patch) | |
tree | 64c43292005b34ada96172f1f47ccb7dc5549bd8 /git-compat-util.h | |
parent | e805dc189218a6e7b4a735c90ec687a4ca174a85 (diff) | |
parent | 0bdaacf66fccaebb93726d47c8bec325ec3f3b76 (diff) |
Merge branch 'rb/hpe'
Portability updates for the HPE NonStop platform.
* rb/hpe:
compat/regex/regcomp.c: define intptr_t and uintptr_t on NonStop
git-compat-util.h: add FLOSS headers for HPE NonStop
config.mak.uname: support for modern HPE NonStop config.
transport-helper: drop read/write errno checks
transport-helper: use xread instead of read
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index b8ace774100..29a19902aaa 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -398,6 +398,19 @@ static inline char *git_find_last_dir_sep(const char *path) #define query_user_email() NULL #endif +#ifdef __TANDEM +#include <floss.h(floss_execl,floss_execlp,floss_execv,floss_execvp)> +#include <floss.h(floss_getpwuid)> +#ifndef NSIG +/* + * NonStop NSE and NSX do not provide NSIG. SIGGUARDIAN(99) is the highest + * known, by detective work using kill -l as a list is all signals + * instead of signal.h where it should be. + */ +# define NSIG 100 +#endif +#endif + #if defined(__HP_cc) && (__HP_cc >= 61000) #define NORETURN __attribute__((noreturn)) #define NORETURN_PTR |