small tweaks and fixes for compiling with MSVC++

This commit is contained in:
Axel Kohlmeyer
2021-10-06 15:24:59 -04:00
parent ec1a55b35b
commit 6c7b42a190
2 changed files with 5 additions and 3 deletions

View File

@ -196,7 +196,7 @@ Dump::~Dump()
if (multifile == 0 && fp != nullptr) {
if (compressed) {
if (filewriter) pclose(fp);
if (filewriter) platform::pclose(fp);
} else {
if (filewriter) fclose(fp);
}
@ -518,7 +518,7 @@ void Dump::write()
if (multifile) {
if (compressed) {
if (filewriter && fp != nullptr) pclose(fp);
if (filewriter && fp != nullptr) platform::pclose(fp);
} else {
if (filewriter && fp != nullptr) fclose(fp);
}