Commit 166cbf4a by Karl Schimpf

Add include files so that IceCompilerServer.cpp can compile on MSC.

A recent change to IceCompilerServer.cpp was added to allow fatal errors to return exit status zero. However, this code called ::write (a C function) that is not defined when compiling with MSC. This CL adds includes to fix this problem. BUG=None R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1379613005 .
parent 48e3ae5c
...@@ -33,6 +33,14 @@ ...@@ -33,6 +33,14 @@
#include <iostream> #include <iostream>
#include <thread> #include <thread>
#if defined(HAVE_UNISTD_H)
# include <unistd.h>
#endif
#if defined(_MSC_VER)
# include <io.h>
# include <fcntl.h>
#endif
namespace Ice { namespace Ice {
namespace { namespace {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment