diff --git a/src/runtime/c/pgf/db.h b/src/runtime/c/pgf/db.h index 9c92c6919..af5b0c678 100644 --- a/src/runtime/c/pgf/db.h +++ b/src/runtime/c/pgf/db.h @@ -112,8 +112,8 @@ private: PGF_INTERNAL_DECL void unregister_process(); - void lock(DB_scope_mode m); - void unlock(); + PGF_INTERNAL_DECL void lock(DB_scope_mode m); + PGF_INTERNAL_DECL void unlock(); friend class DB_scope; }; diff --git a/src/runtime/c/pgf/writer.cxx b/src/runtime/c/pgf/writer.cxx index 7ad272fdc..55e86fb40 100644 --- a/src/runtime/c/pgf/writer.cxx +++ b/src/runtime/c/pgf/writer.cxx @@ -55,7 +55,7 @@ void PgfWriter::write_double(double d) unsigned rawexp; uint64_t mantissa; - switch (fpclassify(d)) { + switch (::fpclassify(d)) { case FP_NAN: rawexp = 0x7ff; mantissa = 1;