{"thread":{"id":"50951","subject":"[PATCH] Makefile: use fileno macro work around on AIX","startedAt":"2019-04-18T09:01:57Z","lastAt":"2019-04-19T18:37:29Z","messageCount":2,"participants":["CHIGOT, CLEMENT","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"374092","messageId":"AM6PR02MB4950A1A625EEA54D4423C1BCEA260@AM6PR02MB4950.eurprd02.prod.outlook.com","threadId":"50951","inReplyTo":null,"subject":"[PATCH] Makefile: use fileno macro work around on AIX","fromName":"CHIGOT, CLEMENT","fromEmail":"clement.chigot@atos.net","sentAt":"2019-04-18T08:55:09Z","receivedAt":"2019-04-18T09:01:57Z","isPatch":true,"sender":{"key":"clement.chigot@atos.net","avatar":null},"body":"Declare FILENO_IS_A_MACRO on AIX\n\nOn AIX, fileno(fp) is a macro and need to use the work around already made for BSD's. \n\nSigned-off-by: Clément Chigot <clement.chigot@atos.net>\n---\n config.mak.uname | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/config.mak.uname b/config.mak.uname\nindex 41e85fab1c..86cbe47627 100644\n--- a/config.mak.uname\n+++ b/config.mak.uname\n@@ -269,6 +269,7 @@ ifeq ($(uname_S),AIX)\n \tINTERNAL_QSORT = UnfortunatelyYes\n \tNEEDS_LIBICONV = YesPlease\n \tBASIC_CFLAGS += -D_LARGE_FILES\n+\tFILENO_IS_A_MACRO = UnfortunatelyYes\n \tifeq ($(shell expr \"$(uname_V)\" : '[1234]'),1)\n \t\tNO_PTHREADS = YesPlease\n \telse\n-- \n2.17.1\n"},{"id":"374146","messageId":"xmqqimvaegh5.fsf@gitster-ct.c.googlers.com","threadId":"50951","inReplyTo":"AM6PR02MB4950A1A625EEA54D4423C1BCEA260@AM6PR02MB4950.eurprd02.prod.outlook.com","subject":"Re: [PATCH] Makefile: use fileno macro work around on AIX","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2019-04-19T05:01:10Z","receivedAt":"2019-04-19T18:37:29Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"CHIGOT, CLEMENT\" <clement.chigot@atos.net> writes:\n\n> Declare FILENO_IS_A_MACRO on AIX\n>\n> On AIX, fileno(fp) is a macro and need to use the work around already made for BSD's. \n>\n> Signed-off-by: Clément Chigot <clement.chigot@atos.net>\n> ---\n>  config.mak.uname | 1 +\n>  1 file changed, 1 insertion(+)\n\nI do not have an AIX box, so I'll take this as-is.\n\nThanks.\n\n\n>\n> diff --git a/config.mak.uname b/config.mak.uname\n> index 41e85fab1c..86cbe47627 100644\n> --- a/config.mak.uname\n> +++ b/config.mak.uname\n> @@ -269,6 +269,7 @@ ifeq ($(uname_S),AIX)\n>  \tINTERNAL_QSORT = UnfortunatelyYes\n>  \tNEEDS_LIBICONV = YesPlease\n>  \tBASIC_CFLAGS += -D_LARGE_FILES\n> +\tFILENO_IS_A_MACRO = UnfortunatelyYes\n>  \tifeq ($(shell expr \"$(uname_V)\" : '[1234]'),1)\n>  \t\tNO_PTHREADS = YesPlease\n>  \telse\n"}]}