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

Поиск
Список
Период
Сортировка
Искать

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

От:
"Dann 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?

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

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
"Dann Corbit"  writes:
> They cannot both be correct.  Which is correct?

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

FAQ