Loading backends/pgsql/pgsql.cpp +6 −8 Original line number Diff line number Diff line Loading @@ -105,12 +105,10 @@ void dbpp::Postgresql::reset(){ } EXPORT { dbpp::Postgresql* create(const char *coninfo) { EXPORT dbpp::Postgresql* create(const char *coninfo) { return new dbpp::Postgresql(coninfo); } void destroy(dbpp::Postgresql* p) { EXPORT void destroy(dbpp::Postgresql* p) { delete p; } }; include/database.h +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ #ifdef Windows #define EXPORT extern "C" __declspec(dllexport) #else #define EXPORT extern "C" #define EXPORT extern "C" __attribute__((visibility("default"))) #endif namespace dbpp { Loading Loading
backends/pgsql/pgsql.cpp +6 −8 Original line number Diff line number Diff line Loading @@ -105,12 +105,10 @@ void dbpp::Postgresql::reset(){ } EXPORT { dbpp::Postgresql* create(const char *coninfo) { EXPORT dbpp::Postgresql* create(const char *coninfo) { return new dbpp::Postgresql(coninfo); } void destroy(dbpp::Postgresql* p) { EXPORT void destroy(dbpp::Postgresql* p) { delete p; } };
include/database.h +1 −1 Original line number Diff line number Diff line Loading @@ -40,7 +40,7 @@ #ifdef Windows #define EXPORT extern "C" __declspec(dllexport) #else #define EXPORT extern "C" #define EXPORT extern "C" __attribute__((visibility("default"))) #endif namespace dbpp { Loading