9 #ifndef PQXX_H_COMPILER_PUBLIC 10 #define PQXX_H_COMPILER_PUBLIC 13 #include "pqxx/config-public-compiler.h" 20 #if defined(__GNUC__) && defined(PQXX_HAVE_GCC_CONST) 21 #define PQXX_CONST __attribute__ ((const)) 27 #if defined(PQXX_HAVE_DEPRECATED) 28 #define PQXX_DEPRECATED [[deprecated]] 30 #elif defined(__GNUC__) && defined(PQXX_HAVE_GCC_DEPRECATED) 31 #define PQXX_DEPRECATED __attribute__ ((deprecated)) 33 #define PQXX_DEPRECATED 36 #if defined(__GNUC__) && defined(PQXX_HAVE_GCC_PURE) 37 #define PQXX_PURE __attribute__ ((pure)) 51 #if !defined(PQXX_LIBEXPORT) && defined(PQXX_SHARED) 52 #define PQXX_LIBEXPORT __declspec(dllimport) 53 #endif // !PQXX_LIBEXPORT && PQXX_SHARED 60 #define PQXX_NOVTABLE __declspec(novtable) 66 #if defined(PQXX_AUTOLINK) 67 #if defined(PQXX_PQ_STATIC) 69 #pragma comment(lib, "libpqd") 71 #pragma comment(lib, "libpq") 75 #pragma comment(lib, "libpqddll") 77 #pragma comment(lib, "libpqdll") 90 #if defined(PQXX_AUTOLINK) && !defined(PQXX_INTERNAL) 93 #pragma comment(lib, "libpqxxD") 95 #pragma comment(lib, "libpqxx") 99 #pragma comment(lib, "libpqxx_staticD") 101 #pragma comment(lib, "libpqxx_static") 110 #ifndef PQXX_LIBEXPORT 111 #define PQXX_LIBEXPORT 118 #ifndef PQXX_NOVTABLE 119 #define PQXX_NOVTABLE