"Zeugswetter Andreas SB SD" <[EMAIL PROTECTED]> writes: > The problem with flex is, that the generated c file does #include <unistd.h> > before we #include "postgres.h". > In this situation _LARGE_FILES is not defined for unistd.h and unistd.h > chooses to define _LARGE_FILE_API, those two are not compatible.
Yeah. AFAICS the only way around this is to avoid doing any I/O operations in the flex-generated files. Fortunately, that's not much of a restriction. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly