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

Started by Dann Corbitover 23 years ago2 messages
#1Dann Corbit
DCorbit@connx.com

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?

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dann Corbit (#1)
Re: Why is CacheMemoryContext declared DLLIMPORT in one place and not in another?

"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