#ifndef __CYGWIN__
counter < READ_GPR(V0_REG) && direntp->d_reclen > 0;
i++, counter += direntp->d_reclen, direntp=(struct dirent *)(buffer+counter)) {
#else
counter < READ_GPR(V0_REG) && direntp->d_fd > 0;
i++, counter += direntp->d_fd, direntp=(struct dirent *)(buffer+counter)) {
#endif
The only problem remaining is I cannot find a cygwin equivalent of getdirentries in Linux dirent.h and the program fails to link. I have patched out the reference in the attached file and it compiles but will obviously not work.
Do any of you know what cygwin function I could use in place of getdirentries()?
I've tried googling for the past day and a half to no avail.
Many thanks,
- David
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/