9 #ifndef PQXX_H_COMPILER_PUBLIC 10 #define PQXX_H_COMPILER_PUBLIC 13 #include "pqxx/config-public-compiler.h" 16 #if defined(__SUNPRO_CC) 17 #define PQXX_PRIVATE __hidden 21 #if defined(__GNUC__) && defined(PQXX_HAVE_GCC_CONST) 22 #define PQXX_CONST __attribute__ ((const)) 28 #if defined(PQXX_HAVE_DEPRECATED) 29 #define PQXX_DEPRECATED [[deprecated]] 31 #elif defined(__GNUC__) && defined(PQXX_HAVE_GCC_DEPRECATED) 32 #define PQXX_DEPRECATED __attribute__ ((deprecated)) 34 #define PQXX_DEPRECATED 37 #if defined(__GNUC__) && defined(PQXX_HAVE_GCC_PURE) 38 #define PQXX_PURE __attribute__ ((pure)) 53 #if !defined(PQXX_LIBEXPORT) && defined(PQXX_SHARED) 54 #define PQXX_LIBEXPORT __declspec(dllimport) 55 #endif // !PQXX_LIBEXPORT && PQXX_SHARED 62 #define PQXX_NOVTABLE __declspec(novtable) 68 #if defined(PQXX_AUTOLINK) 69 #if defined(PQXX_PQ_STATIC) 71 #pragma comment(lib, "libpqd") 73 #pragma comment(lib, "libpq") 77 #pragma comment(lib, "libpqddll") 79 #pragma comment(lib, "libpqdll") 92 #if defined(PQXX_AUTOLINK) && !defined(PQXX_INTERNAL) 95 #pragma comment(lib, "libpqxxD") 97 #pragma comment(lib, "libpqxx") 101 #pragma comment(lib, "libpqxx_staticD") 103 #pragma comment(lib, "libpqxx_static") 112 #ifndef PQXX_LIBEXPORT 113 #define PQXX_LIBEXPORT 120 #ifndef PQXX_NOVTABLE 121 #define PQXX_NOVTABLE