Обсуждение: 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"
Дата:
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
Дата:
"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