Hi Pablo. And the piece of code from pdf-time.h:
#ifdef PDF_HOST_WIN32 /* Windows-specific function to set the time with a pdf_i64_t */ pdf_status_t pdf_time_w32_set_from_filetime (pdf_time_t time_var, const FILETIME *p_filetime); #endif This file is missing a windows include for the FILETIME type, if I add the include inside this #ifdef, everything goes fine, but placing it on the top with other includes (and under the same preprocessor condition) messes up the autogenerated pdf.h that's used later for compiling tortutils. I don't really know which is the best place for this include, as the first fix seems untidy. The proper way to proceed in this case is to add a PUBLIC block at the beginning of the file with the inclusion of that header file, like in: #ifndef PDF_TIME_H #define PDF_TIME_H #include <stdio.h> #ifdef PDF_HOST_WIN32 # include <FILETYPE.h> #endif If that header file causes problem in tortutils when compiling for mingw32, can you send the output of the compiler? -- Jose E. Marchesi <[email protected]> http://www.jemarch.net GNU Project http://www.gnu.org
