summaryrefslogtreecommitdiff
path: root/compat/basename.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-31compat: add a basename() compatibility functionLibravatar David Aguilar1-0/+15
Some systems such as Windows lack libgen.h so provide a basename() implementation for cross-platform use. This introduces the NO_LIBGEN_H construct to the Makefile and autoconf scripts. Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>