From: Junio C Hamano Date: Wed, 12 Sep 2012 21:21:44 +0000 (-0700) Subject: Merge branch 'js/compat-itimer' X-Git-Tag: v1.8.0-rc0~71 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/067a1f552ee5ac8faf24aa547808b10bc54fae4b Merge branch 'js/compat-itimer' Pieces to support compilation on __TANDEM. * js/compat-itimer: Add a no-op setitimer() wrapper --- 067a1f552ee5ac8faf24aa547808b10bc54fae4b diff --cc git-compat-util.h index fd732d7243,3515366b12..24b5432462 --- a/git-compat-util.h +++ b/git-compat-util.h @@@ -162,11 -162,17 +162,22 @@@ #define probe_utf8_pathname_composition(a,b) #endif +#ifdef MKDIR_WO_TRAILING_SLASH +#define mkdir(a,b) compat_mkdir_wo_trailing_slash((a),(b)) +extern int compat_mkdir_wo_trailing_slash(const char*, mode_t); +#endif + + #ifdef NO_STRUCT_ITIMERVAL + struct itimerval { + struct timeval it_interval; + struct timeval it_value; + } + #endif + + #ifdef NO_SETITIMER + #define setitimer(which,value,ovalue) + #endif + #ifndef NO_LIBGEN_H #include #else