Bazel client: depend less on <unistd.h>
We moved most of the functionality (e.g. _exit,
SetupStreams) into blaze_util_<platform> or
changed to alternative functions (fwrite + stderr
instead of write + STDERR_HANDLE).
This change brings us closer to compiling blaze.cc
with MSVC. We still have to move signal handlers
out of blaze.cc as well as code dealing with the
server PID.
See https://github.com/bazelbuild/bazel/issues/2107
--
MOS_MIGRATED_REVID=140123945
diff --git a/src/main/cpp/workspace_layout.h b/src/main/cpp/workspace_layout.h
index 62de291..f02371f 100644
--- a/src/main/cpp/workspace_layout.h
+++ b/src/main/cpp/workspace_layout.h
@@ -69,7 +69,7 @@
static bool WorkspaceRelativizeRcFilePath(const std::string& workspace,
std::string* path_fragment);
- static constexpr char WorkspacePrefix[] = "%workspace%/";
+ static constexpr const char WorkspacePrefix[] = "%workspace%/";
static const int WorkspacePrefixLength = sizeof WorkspacePrefix - 1;
};