From 6e2ccb75d7c9e1e9102a0512449381e2fffc57a7 Mon Sep 17 00:00:00 2001 From: Laszlo Csomor Date: Wed, 1 Mar 2017 16:53:35 +0000 Subject: Bazel client: simplify {Read,Write}File semantics Introduce a platform-specific file handle type (HANDLE on Windows, int on Linux/Darwin/FreeBSD) so we can get rid of the read_func and write_func functions, since they are always the same everywhere. Also include file_platform.h in file.h, since they are logically the same file (file_platform.h is just the platform-specific part of file.h). -- PiperOrigin-RevId: 148892736 MOS_MIGRATED_REVID=148892736 --- src/test/cpp/util/file_test.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'src/test/cpp/util') diff --git a/src/test/cpp/util/file_test.cc b/src/test/cpp/util/file_test.cc index 1a02de5d78..0602dcb20c 100644 --- a/src/test/cpp/util/file_test.cc +++ b/src/test/cpp/util/file_test.cc @@ -21,7 +21,6 @@ #include #include "src/main/cpp/util/file.h" -#include "src/main/cpp/util/file_platform.h" #include "src/test/cpp/util/test_util.h" #include "gtest/gtest.h" -- cgit v1.2.3