diff options
author | George Hazan <ghazan@miranda.im> | 2018-11-06 13:07:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-11-06 13:07:56 +0300 |
commit | ee25ba7f21361902fa8fde104a29d92b39c8db9c (patch) | |
tree | 511557132a91a2ad9fe0c8e18ea4114ebf956bec /libs/libmdbx/src/test/osal.h | |
parent | d8d3c2cfc50e05fe4b8f6ddd69f2b27b0890ebb8 (diff) |
merge with libmdbx trunk - fixes one rare problem with database shrinking
Diffstat (limited to 'libs/libmdbx/src/test/osal.h')
-rw-r--r-- | libs/libmdbx/src/test/osal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/libmdbx/src/test/osal.h b/libs/libmdbx/src/test/osal.h index c27282a656..3ccc7bbec1 100644 --- a/libs/libmdbx/src/test/osal.h +++ b/libs/libmdbx/src/test/osal.h @@ -1,4 +1,4 @@ -/* +/* * Copyright 2017-2018 Leonid Yuriev <leo@yuriev.ru> * and other libmdbx authors: please see AUTHORS file. * All rights reserved. @@ -32,6 +32,7 @@ void osal_udelay(unsigned us); void osal_yield(void); bool osal_istty(int fd); std::string osal_tempdir(void); +int osal_removefile(const std::string &pathname); #ifdef _MSC_VER #ifndef STDIN_FILENO |