Merge branch 'cc/aix-has-fileno-as-a-macro'
authorJunio C Hamano <gitster@pobox.com>
Wed, 8 May 2019 15:37:28 +0000 (00:37 +0900)
committerJunio C Hamano <gitster@pobox.com>
Wed, 8 May 2019 15:37:28 +0000 (00:37 +0900)
AIX shared the same build issues with other BSDs around fileno(fp),
which has been corrected.

* cc/aix-has-fileno-as-a-macro:
Makefile: use fileno macro work around on AIX

config.mak.uname
index d56613a1397dc400c3903299816fc2aea345e9a0..d916d1dc7ab90d954dcd25f89d09f7478053112a 100644 (file)
@@ -271,6 +271,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