summaryrefslogtreecommitdiff
path: root/config.mak.in
diff options
context:
space:
mode:
authorGary V. Vaughan <git@mlists.thewrittenword.com>2010-05-14 09:31:43 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-06-01 00:36:27 (GMT)
commitf9f33cdc78b5893a4764b1437b59536f399a50d1 (patch)
treecd509cc43dcd284861f820c62ffa6395d9aaa2e6 /config.mak.in
parente88a135bc55a974ea04576ccc014c5e2bdc4b892 (diff)
downloadgit-f9f33cdc78b5893a4764b1437b59536f399a50d1.zip
git-f9f33cdc78b5893a4764b1437b59536f399a50d1.tar.gz
git-f9f33cdc78b5893a4764b1437b59536f399a50d1.tar.bz2
Allow disabling "inline"
Compiler support for inline is sometimes buggy, and occasionally missing entirely. This patch adds a test for inline support, and redefines the keyword with the preprocessor if necessary at compile time. Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.in')
-rw-r--r--config.mak.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.in b/config.mak.in
index ed0f8f5..e2dbd1c 100644
--- a/config.mak.in
+++ b/config.mak.in
@@ -58,6 +58,7 @@ NO_INET_PTON=@NO_INET_PTON@
NO_ICONV=@NO_ICONV@
OLD_ICONV=@OLD_ICONV@
NO_DEFLATE_BOUND=@NO_DEFLATE_BOUND@
+INLINE=@INLINE@
SOCKLEN_T=@SOCKLEN_T@
FREAD_READS_DIRECTORIES=@FREAD_READS_DIRECTORIES@
SNPRINTF_RETURNS_BOGUS=@SNPRINTF_RETURNS_BOGUS@