summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorVictor Costan <costan@google.com>2020-01-10 10:45:16 -0800
committerVictor Costan <pwnall@chromium.org>2020-01-14 18:31:37 -0800
commit5903e7a1125cacaa1d44367b5b84fe9208e42884 (patch)
tree9e7e7a58c50cc0fe8d261187b026bc68e2e6e7ce /util
parenta0191e5563b7a6c24b39edcbdbff29e602e0acfc (diff)
downloadleveldb-5903e7a1125cacaa1d44367b5b84fe9208e42884.tar.gz
Remove Windows workarounds in some tests.
leveldb::Env::DeleteFile was replaced with leveldb::Env::RemoveFile in all tests. This allows us to remove workarounds for windows.h #defining DeleteFile. PiperOrigin-RevId: 289121105
Diffstat (limited to 'util')
-rw-r--r--util/env_test.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/util/env_test.cc b/util/env_test.cc
index 223090e..491ef43 100644
--- a/util/env_test.cc
+++ b/util/env_test.cc
@@ -12,11 +12,6 @@
#include "util/mutexlock.h"
#include "util/testutil.h"
-#if defined(_WIN32) && defined(DeleteFile)
-// See rationale in env.h
-#undef DeleteFile
-#endif
-
namespace leveldb {
static const int kDelayMicros = 100000;