From: Junio C Hamano Date: Tue, 14 Aug 2012 14:56:37 GMT Subject: Re: Porting git to HP NonStop Message-ID: <7vipcl8qu2.fsf@alter.siamese.dyndns.org> In-Reply-To: <000f01cd79eb$2a0b6e00$7e224a00$@schmitz-digital.de> "Joachim Schmitz" writes: >> /usr/local/bin/diff -EBbu ./git-compat-util.h.orig ./git-compat-util.h >> --- ./git-compat-util.h.orig 2012-07-30 15:50:38 -0500 >> +++ ./git-compat-util.h 2012-08-10 09:59:56 -0500 >> @@ -74,7 +74,8 @@ >> # define _XOPEN_SOURCE 500 >> # endif >> #elif !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(__USLC__) >> && \ >> - !defined(_M_UNIX) && !defined(__sgi) && !defined(__DragonFly__) >> + !defined(_M_UNIX) && !defined(__sgi) && !defined(__DragonFly__) && > \ >> + !defined(__TANDEM) >> #define _XOPEN_SOURCE 600 /* glibc2 and AIX 5.3L need 500, OpenBSD >> needs 600 for S_ISLNK() */ #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L >> needs this */ #endif @@ -98,6 +99,11 @@ #include #include >> #include >> +#ifdef __TANDEM >> +# include /* for strcasecmp() */ >> + typedef long int intptr_t; >> + typedef unsigned long int uintptr_t; >> +#endif >> #include >> #include >> #include > > This one still stands though, unless someone can come up with a better idea? This hunk looks unobtrusive and obviously will not impact other platforms, which is good.