git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "CHIGOT\, CLEMENT" <clement.chigot@atos.net>
Cc: "git\@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: [PATCH] Makefile: use fileno macro work around on AIX
Date: Fri, 19 Apr 2019 14:01:10 +0900	[thread overview]
Message-ID: <xmqqimvaegh5.fsf@gitster-ct.c.googlers.com> (raw)
In-Reply-To: <AM6PR02MB4950A1A625EEA54D4423C1BCEA260@AM6PR02MB4950.eurprd02.prod.outlook.com> (CLEMENT CHIGOT's message of "Thu, 18 Apr 2019 08:55:09 +0000")

"CHIGOT, CLEMENT" <clement.chigot@atos.net> writes:

> Declare FILENO_IS_A_MACRO on AIX
>
> On AIX, fileno(fp) is a macro and need to use the work around already made for BSD's. 
>
> Signed-off-by: Clément Chigot <clement.chigot@atos.net>
> ---
>  config.mak.uname | 1 +
>  1 file changed, 1 insertion(+)

I do not have an AIX box, so I'll take this as-is.

Thanks.


>
> diff --git a/config.mak.uname b/config.mak.uname
> index 41e85fab1c..86cbe47627 100644
> --- a/config.mak.uname
> +++ b/config.mak.uname
> @@ -269,6 +269,7 @@ ifeq ($(uname_S),AIX)
>  	INTERNAL_QSORT = UnfortunatelyYes
>  	NEEDS_LIBICONV = YesPlease
>  	BASIC_CFLAGS += -D_LARGE_FILES
> +	FILENO_IS_A_MACRO = UnfortunatelyYes
>  	ifeq ($(shell expr "$(uname_V)" : '[1234]'),1)
>  		NO_PTHREADS = YesPlease
>  	else

      reply	other threads:[~2019-04-19 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-18  8:55 [PATCH] Makefile: use fileno macro work around on AIX CHIGOT, CLEMENT
2019-04-19  5:01 ` Junio C Hamano [this message]

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=xmqqimvaegh5.fsf@gitster-ct.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=clement.chigot@atos.net \
    --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).