Skip to content

Commit ee662bf

Browse files
Clément Chigotgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent aeb582a commit ee662bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.uname

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ ifeq ($(uname_S),AIX)
269269
INTERNAL_QSORT = UnfortunatelyYes
270270
NEEDS_LIBICONV = YesPlease
271271
BASIC_CFLAGS += -D_LARGE_FILES
272+
FILENO_IS_A_MACRO = UnfortunatelyYes
272273
ifeq ($(shell expr "$(uname_V)" : '[1234]'),1)
273274
NO_PTHREADS = YesPlease
274275
else

0 commit comments

Comments
 (0)