1
0
mirror of https://github.com/git/git.git synced 2024-10-01 09:33:22 +02:00
git/compat
Brandon Casey eb120e699f compat/fopen.c: avoid clobbering the system defined fopen macro
Some systems define fopen as a macro based on compiler settings.
The previous technique for reverting to the system fopen function
by merely undefining fopen is inadequate in this case. Instead,
avoid defining fopen entirely when compiling this source file.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Tested-by: Mike Ralphson <mike@abacus.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2008-05-08 17:43:01 -07:00
..
fopen.c compat/fopen.c: avoid clobbering the system defined fopen macro 2008-05-08 17:43:01 -07:00
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c
mkdtemp.c
mmap.c
pread.c
qsort.c
setenv.c
snprintf.c
strcasestr.c
strlcpy.c
strtoumax.c
unsetenv.c