mdbx-test: cleanup for without MDBX_NOSUBDIR case.

Change-Id: I50d6640108ca229e4919ea96469152d2533f9cab
This commit is contained in:
Leonid Yuriev
2020-09-26 22:01:07 +03:00
parent 5627521f16
commit 12770cae88
5 changed files with 27 additions and 0 deletions

View File

@@ -535,4 +535,8 @@ int osal_removefile(const std::string &pathname) {
return unlink(pathname.c_str()) ? errno : MDBX_SUCCESS;
}
int osal_removedirectory(const std::string &pathname) {
return rmdir(pathname.c_str()) ? errno : MDBX_SUCCESS;
}
#endif /* !Windows */