12 #ifndef PQXX_H_COMPILER_PUBLIC
13 #define PQXX_H_COMPILER_PUBLIC
16 #include "pqxx/config-public-compiler.h"
23 #if defined(__GNUC__) && defined(PQXX_HAVE_GCC_PURE)
24 # define PQXX_PURE __attribute__((pure))
38 # if defined(PQXX_SHARED) && !defined(PQXX_LIBEXPORT)
39 # define PQXX_LIBEXPORT __declspec(dllimport)
40 # endif // PQXX_SHARED && !PQXX_LIBEXPORT
47 # define PQXX_NOVTABLE __declspec(novtable)
53 # if defined(PQXX_AUTOLINK)
54 # if defined(PQXX_PQ_STATIC)
56 # pragma comment(lib, "libpqd")
58 # pragma comment(lib, "libpq")
62 # pragma comment(lib, "libpqddll")
64 # pragma comment(lib, "libpqdll")
77 # if defined(PQXX_AUTOLINK) && !defined(PQXX_INTERNAL)
80 # pragma comment(lib, "libpqxxD")
82 # pragma comment(lib, "libpqxx")
84 # else // !PQXX_SHARED
86 # pragma comment(lib, "libpqxx_staticD")
88 # pragma comment(lib, "libpqxx_static")
97 #ifndef PQXX_LIBEXPORT
98 # define PQXX_LIBEXPORT
102 # define PQXX_PRIVATE
105 #ifndef PQXX_NOVTABLE
106 # define PQXX_NOVTABLE