summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGary V. Vaughan <git@mlists.thewrittenword.com>2010-05-14 09:31:44 +0000
committerJunio C Hamano <gitster@pobox.com>2010-05-31 17:36:27 -0700
commit520fbc2a0da2ba830a54b9e1992a3f658c3ae1db (patch)
treed4a13f2a1bf09e2799a1c6779fbd1a0595d92245 /Makefile
parentf9f33cdc78b5893a4764b1437b59536f399a50d1 (diff)
downloadgit-520fbc2a0da2ba830a54b9e1992a3f658c3ae1db.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7f6299650d..c23ac13290 100644
--- 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)