From: "Joachim Schmitz" <jojo@schmitz-digital.de>
To: git@vger.kernel.org
Subject: Re: [PATCH 2/2] Port to QNX
Date: Sun, 16 Dec 2012 09:27:05 +0100 [thread overview]
Message-ID: <kak0kr$cf6$1@ger.gmane.org> (raw)
In-Reply-To: 1355510300-31541-3-git-send-email-kraai@ftbfs.org
Matt Kraai wrote:
> From: Matt Kraai <matt.kraai@amo.abbott.com>
>
> Signed-off-by: Matt Kraai <matt.kraai@amo.abbott.com>
> ---
> Makefile | 19 +++++++++++++++++++
> git-compat-util.h | 8 ++++++--
> 2 files changed, 25 insertions(+), 2 deletions(-)
>
snip
> diff --git a/git-compat-util.h b/git-compat-util.h
> index 2e79b8a..6c588ca 100644
> --- a/git-compat-util.h
> +++ b/git-compat-util.h
> @@ -75,7 +75,7 @@
> # endif
> #elif !defined(__APPLE__) && !defined(__FreeBSD__) &&
> !defined(__USLC__) && \ !defined(_M_UNIX) && !defined(__sgi) &&
> !defined(__DragonFly__) && \ - !defined(__TANDEM)
> + !defined(__TANDEM) && !defined(__QNX__)
> #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
> @@ -99,7 +99,7 @@
> #include <stdlib.h>
> #include <stdarg.h>
> #include <string.h>
> -#ifdef __TANDEM /* or HAVE_STRINGS_H or !NO_STRINGS_H? */
> +#if defined(__TANDEM) || defined(__QNX__) /* or HAVE_STRINGS_H or
> !NO_STRINGS_H? */ #include <strings.h> /* for strcasecmp() */
There's another recent thread, discussing to change this to "#ifdef
HAVE_STRING_H" plus the infrastructure in Makefile and configure.ac.
Bye, Jojo
next prev parent reply other threads:[~2012-12-16 8:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-14 18:38 [PATCH 0/2] Port to QNX Matt Kraai
2012-12-14 18:38 ` [PATCH 1/2] Make lock local to fetch_pack Matt Kraai
2012-12-15 18:40 ` Junio C Hamano
2012-12-15 19:31 ` Junio C Hamano
2012-12-14 18:38 ` [PATCH 2/2] Port to QNX Matt Kraai
2012-12-16 8:27 ` Joachim Schmitz [this message]
2012-12-15 18:38 ` [PATCH 0/2] " Junio C Hamano
2012-12-15 21:55 ` Matt Kraai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='kak0kr$cf6$1@ger.gmane.org' \
--to=jojo@schmitz-digital.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).