git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] Port to QNX

From
Joachim Schmitz <jojo@schmitz-digital.de>
Date
Dec 16, 2012, 08:27 UTC
Message-ID
<kak0kr$cf6$1@ger.gmane.org>
In-Reply-To
<1355510300-31541-3-git-send-email-kraai@ftbfs.org>
Matt Kraai wrote:
Show 8 quoted lines
> 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
Show 20 quoted lines
> 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 
Previous: Matt KraaiNext: Junio C Hamano
Message 6 of 8 in “Port to QNX”
  1. 0/2 Port to QNXMatt Kraai, Dec 14, 2012
  2. 1/2 Make lock local to fetch_packMatt Kraai, Dec 14, 2012
  3. Junio C HamanoDec 15, 2012
  4. Junio C HamanoDec 15, 2012
  5. 2/2 Port to QNXMatt Kraai, Dec 14, 2012
  6. Joachim SchmitzDec 16, 2012
  7. Junio C HamanoDec 15, 2012
  8. Matt KraaiDec 15, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.