pgsql: PGDLLEXPORT is __declspec (dllexport) only on MSVC, but is
pgsql: PGDLLEXPORT is __declspec (dllexport) only on MSVC, but is
От:
itagaki@postgresql.org (Takahiro Itagaki)
Дата:
Log Message:
-----------
PGDLLEXPORT is __declspec (dllexport) only on MSVC,
but is __declspec (dllimport) on other compilers
because cygwin and mingw don't like dllexport.
Modified Files:
--------------
pgsql/src/include/port:
cygwin.h (r1.8 -> r1.9)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port/cygwin.h?r1=1.8&r2=1.9)
win32.h (r1.94 -> r1.95)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port/win32.h?r1=1.94&r2=1.95)
Re: pgsql: PGDLLEXPORT is __declspec (dllexport) only on MSVC, but is
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
itagaki@postgresql.org (Takahiro Itagaki) writes: > Log Message: > ----------- > PGDLLEXPORT is __declspec (dllexport) only on MSVC, > but is __declspec (dllimport) on other compilers > because cygwin and mingw don't like dllexport. That probably explains why the code was the way it was before ... regards, tom lane