Gisle Vanem wrote:
But maybe this should be:
# ifdef HAVE_OPENDIR
# undef opendir
# endif
# ifdef HAVE_CLOSEDIR
# undef closedir
# endif
Yes, I like this better. Does the attached patch work for you?
This brings up my confusion I have with stuff like
what value REPLACE_CL
In lib/glob.c, the code:
# undef opendir
# undef closedir
causes this link error:
glob.obj : error LNK2019: unresolved external symbol _closedir referenced in
function _glob_in_dir
glob.obj : error LNK2019: unresolved external symbol _opendir referenced in
function _glob_in_dir
I fixed