Thread: Why is CacheMemoryContext declared DLLIMPORT in one place and not in another?

PostgreSQL 7.2.1...
We have:
C:\CYGWIN\USR\SRC\POSTGRESQL-7.2.1-1\src\include\utils\catcache.h(84):ex
tern MemoryContext CacheMemoryContext;
C:\CYGWIN\USR\SRC\POSTGRESQL-7.2.1-1\src\include\utils\memutils.h(70):ex
tern DLLIMPORT MemoryContext CacheMemoryContext;

They cannot both be correct.  Which is correct?


"Dann Corbit" <DCorbit@connx.com> writes:
> They cannot both be correct.  Which is correct?

DLLIMPORT is correct.  Patch committed --- thanks for catching it!
        regards, tom lane