Michael Meskes <meskes@postgresql.org> writes:
> ../../include/utils/mcxt.h:25: syntax error before `MemoryContext'
That line reads
extern DLLIMPORT MemoryContext CurrentMemoryContext;
I'll bet you are trying to compile with a Windoze-oriented config.h
that causes DLLIMPORT to expand to something nonempty. Try
reconfiguring.
regards, tom lane