I wrote:
ldap_config.h just tests for _WIN32 and defines LDAP_DIRSEP. There is no reason to do anything beyond that. Cygwin does its own machinations already and we don't know or care what they are.
So MingW and Cygwin translate filenames with "forbidden characters" like \ to something which works on Windows?
Sorry, getting tired... I presume this falls under your previous reply, "Building OpenLDAP as a Cygwin app is not recommended and I see no reason to make any special effort to support it."
It'd be easier if I knew Windows so I knew something about what I was talking about...