diff options
author | Markus Duft <mduft@gentoo.org> | 2010-10-27 10:39:52 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-28 17:52:22 -0700 |
commit | 2844923d62a4c408bd59ddb2caacca4aa7eb86bc (patch) | |
tree | 984cbfe179ac14c8f59b62d05f5899c967a3a577 /daemon.c | |
parent | 7ebee44167fc25b975f5543472c851ab1840af1b (diff) | |
download | git-2844923d62a4c408bd59ddb2caacca4aa7eb86bc.tar.gz |
add support for the SUA layer (interix; windows)
* add required build options to Makefile.
* introduce new NO_INTTYPES_H for systems lacking inttypes; code
includes stdint.h instead, if this is set.
* introduce new NO_SYS_POLL_H for systems lacking sys/poll.h; code
includes poll.h instead, if this is set.
* introduce NO_INITGROUPS. initgroups() call is simply omitted.
Signed-off-by: Markus Duft <mduft@gentoo.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,6 +15,10 @@ #define NI_MAXSERV 32 #endif +#ifdef NO_INITGROUPS +#define initgroups(x, y) (0) /* nothing */ +#endif + static int log_syslog; static int verbose; static int reuseaddr; |