summaryrefslogtreecommitdiffstats
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-01-18 13:49:54 -0800
committerJunio C Hamano <gitster@pobox.com>2019-01-18 13:49:54 -0800
commit9f2eba2b90d7af573e1a86c6974db4fe33acbfe1 (patch)
tree64c43292005b34ada96172f1f47ccb7dc5549bd8 /git-compat-util.h
parente805dc189218a6e7b4a735c90ec687a4ca174a85 (diff)
parent0bdaacf66fccaebb93726d47c8bec325ec3f3b76 (diff)
downloadgit-9f2eba2b90d7af573e1a86c6974db4fe33acbfe1.tar.gz
git-9f2eba2b90d7af573e1a86c6974db4fe33acbfe1.tar.xz
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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index b8ace7741..29a19902a 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