I was building gnupdf with Cygwin, but found some confused DIR definitions(src/base/pdf-fsys-disk.c:432):
/* Host-dependent opendir(), closedir() and friends*/ #ifdef PDF_HOST_WIN32 #define PDF_DIR _WDIR #define pdf_dirent_s _wdirent #define PDF_OPENDIR(f) _wopendir((const wchar_t *)f) #define PDF_READDIR(ds) _wreaddir((PDF_DIR *)ds) I don't know where's the definition of _WDIR-like macro/functions in Win32, and was unable to pass build on the code. (I checked out with latest trunk code) The PDF_HOST_WIN32 macro shall not be defined when compiling for Cygwin. Cygwin provides a POSIX environment in w32 systems. Take a look to configure.ac. The PDF_HOST_WIN32 is set only if the host string matches *-mingw32* (I don't have a cygwin environment to test). -- Jose E. Marchesi <[email protected]> http://www.jemarch.net GNU Project http://www.gnu.org
