Code

inline declaration does not work on AIX
authorGary V. Vaughan <git@mlists.thewrittenword.com>
Fri, 14 May 2010 09:31:44 +0000 (09:31 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 1 Jun 2010 00:36:27 +0000 (17:36 -0700)
Define away inline declaration on AIX.

Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index 7f6299650d6f72e88fcab34317cf4274016a5d72..c23ac1329075e71dc18b71696a04589bad1f2d39 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -912,6 +912,9 @@ ifeq ($(uname_S),AIX)
        else
                PTHREAD_LIBS = -lpthread
        endif
+       ifeq ($(shell expr "$(uname_V).$(uname_R)" : '5\.1'),3)
+               INLINE=''
+       endif
        GIT_TEST_CMP = cmp
 endif
 ifeq ($(uname_S),GNU)