17 #ifndef PQXX_H_COMPILER_INTERNAL
18 #define PQXX_H_COMPILER_INTERNAL
22 #include "pqxx/config-internal-compiler.h"
29 # undef PQXX_LIBEXPORT
30 # define PQXX_LIBEXPORT __declspec(dllexport)
31 # define PQXX_PRIVATE __declspec()
32 # endif // PQXX_SHARED
34 #elif defined(__GNUC__) && defined(PQXX_HAVE_GCC_VISIBILITY) // !_WIN32
36 # define PQXX_LIBEXPORT __attribute__((visibility("default")))
37 # define PQXX_PRIVATE __attribute__((visibility("hidden")))
39 #endif // __GNUC__ && PQXX_HAVE_GCC_VISIBILITY
41 #include "pqxx/compiler-public.hxx"