Merge branch 'js/compat-itimer'
authorJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2012 21:21:44 +0000 (14:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Sep 2012 21:21:44 +0000 (14:21 -0700)
Pieces to support compilation on __TANDEM.

* js/compat-itimer:
Add a no-op setitimer() wrapper

1  2 
Makefile
git-compat-util.h
diff --cc Makefile
Simple merge
index fd732d7243a9266302751189c32a57fd441a671d,3515366b129b7343d15c67bc8e4fe3c83e0b1f7d..24b5432462234ee25123cb5aa96222bab0f9e28f
  #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 <libgen.h>
  #else