summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2005-10-08 14:54:41 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2005-10-08 14:54:41 -0700
commite1e9c254660244756a72ecfcfff81c15fb32a6e9 (patch)
tree169670b42ad3ba9768eba780dcb8ad2c4dc64945 /Makefile
parentteach git-status about spaces in filenames (diff)
downloadtgif-e1e9c254660244756a72ecfcfff81c15fb32a6e9.tar.xz
Give proper prototype to gitstrcasestr.
Borrow from NO_MMAP patch by Johannes, squelch compiler warnings by declaring gitstrcasestr() when we use it. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 92f0bda5e7..b8ca504f09 100644
--- a/Makefile
+++ b/Makefile
@@ -246,7 +246,7 @@ ifdef NEEDS_NSL
SIMPLE_LIB += -lnsl
endif
ifdef NO_STRCASESTR
- DEFINES += -Dstrcasestr=gitstrcasestr
+ DEFINES += -Dstrcasestr=gitstrcasestr -DNO_STRCASESTR=1
LIB_OBJS += compat/strcasestr.o
endif