summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Chigot <clement.chigot@atos.net>2019-04-18 10:55:09 +0200
committerJunio C Hamano <gitster@pobox.com>2019-04-25 10:49:20 +0200
commitee662bf5c66457dfa96a7148b2032a7f17868a54 (patch)
treeaade020cdc34f4a028d36e6b853c4931a74f364c
parentmingw: allow building with an MSYS2 runtime v3.x (diff)
downloadgit-ee662bf5c66457dfa96a7148b2032a7f17868a54.tar.xz
git-ee662bf5c66457dfa96a7148b2032a7f17868a54.zip
Makefile: use fileno macro work around on AIX
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--config.mak.uname1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname
index 2011bac6d5..4ef11ce418 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