> If I copy mcxt.h there I get this error.
>
> [postgres@druid:contrib/chkpass] $ make
> cc -g -O -fPIC -I/usr/local/pgsql/include -c chkpass.c
> In file included from /usr/local/pgsql/include/utils/palloc.h:30,
> from /usr/local/pgsql/include/postgres.h:44,
> from chkpass.c:9:
> /usr/local/pgsql/include/utils/mcxt.h:25: syntax error before
> `MemoryContext'
This can be caused by the DLLIMPORT symbol in declaration of
CurrentMemoryContext in mcxt.h. DLLIMPORT is defined in c.h as nothing for
all platforms other than win32 (I hope) and c.h is included by postgres.h.
Dan
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера