summaryrefslogtreecommitdiff
path: root/compat/basename.c
AgeCommit message (Collapse)Author
2009-06-01compat: add a basename() compatibility functionDavid Aguilar
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>