diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-01-18 13:49:54 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-01-18 13:49:54 -0800 |
| commit | 9f2eba2b90d7af573e1a86c6974db4fe33acbfe1 (patch) | |
| tree | 64c43292005b34ada96172f1f47ccb7dc5549bd8 /git-compat-util.h | |
| parent | Merge branch 'ed/simplify-setup-git-dir' (diff) | |
| parent | compat/regex/regcomp.c: define intptr_t and uintptr_t on NonStop (diff) | |
| download | git-9f2eba2b90d7af573e1a86c6974db4fe33acbfe1.tar.gz git-9f2eba2b90d7af573e1a86c6974db4fe33acbfe1.zip | |
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 b8ace77410..29a19902aa 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 |
