Define PQXX_SHARED when building shared library; fixed warnings in strerror_r() and select()-related tests.
Define PQXX_SHARED when building shared library; fixed warnings in strerror_r()
and select()-related tests.

jtv/libpqxx,jtv/libpqxx,jtv/libpqxx,jtv/libpqxx