Skip to content

Commit 520fbc2

Browse files
Gary V. Vaughangitster
authored andcommitted
inline declaration does not work on AIX
Define away inline declaration on AIX. Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent f9f33cd commit 520fbc2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,9 @@ ifeq ($(uname_S),AIX)
912912
else
913913
PTHREAD_LIBS = -lpthread
914914
endif
915+
ifeq ($(shell expr "$(uname_V).$(uname_R)" : '5\.1'),3)
916+
INLINE=''
917+
endif
915918
GIT_TEST_CMP = cmp
916919
endif
917920
ifeq ($(uname_S),GNU)

0 commit comments

Comments
 (0)