RE: [HACKERS] mcxt.h

From: Horak Daniel <horak(at)mmp(dot)plzen-city(dot)cz>
To: "'D'Arcy\" \"J(dot)M(dot)\" Cain'" <darcy(at)druid(dot)net>, hackers(at)postgreSQL(dot)org
Subject: RE: [HACKERS] mcxt.h
Date: 1999-03-24 14:00:16
Message-ID: E821907445D2D2118E0000A024B3BF90520B59@exchange.mmp.plzen-city.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> If I copy mcxt.h there I get this error.
>
> [postgres(at)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

Browse pgsql-hackers by date

  From Date Subject
Next Message James Thompson 1999-03-24 14:41:39 backend unstable, \d broken, groups broken was CVS 3-22-99 \d broken?
Previous Message D'Arcy J.M. Cain 1999-03-24 13:47:39 mcxt.h