diff options
author | Philip Craig <philip@pobox.com> | 2011-05-28 08:28:01 (GMT) |
---|---|---|
committer | Philip Craig <philip@pobox.com> | 2011-05-28 08:28:01 (GMT) |
commit | 41a4e2604ba4a4add4dc5f2fd6213ef5c2243ca4 (patch) | |
tree | 6324a5ae48a17f8fc77d5bce1a01888dbf22c528 /src/util.cc | |
parent | 511613ce2552528c00719ca59c8b2411518f12db (diff) | |
download | Ninja-41a4e2604ba4a4add4dc5f2fd6213ef5c2243ca4.zip Ninja-41a4e2604ba4a4add4dc5f2fd6213ef5c2243ca4.tar.gz Ninja-41a4e2604ba4a4add4dc5f2fd6213ef5c2243ca4.tar.bz2 |
Tests now build on a native Windows build (tested with VS2010)
All tests except SubProcess pass on a native Windows build
Tests continue not to build on a platform=mingw build
Diffstat (limited to 'src/util.cc')
-rwxr-xr-x[-rw-r--r--] | src/util.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.cc b/src/util.cc index 14b3379..d5a8f1f 100644..100755 --- a/src/util.cc +++ b/src/util.cc @@ -25,7 +25,10 @@ #include <string.h> #include <sys/stat.h> #include <sys/types.h> + +#ifndef _WIN32 #include <sys/time.h> +#endif #include <vector> |