Commit ce15e98a authored by jan.koester's avatar jan.koester
Browse files

fixed bsd

parent f2ee3a6f
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
@@ -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;
}
};
+1 −1
Original line number Diff line number Diff line
@@ -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 {