diff options
author | Sergey Nenakhov <nenakhov.sergey@gmail.com> | 2011-04-23 21:15:59 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-04-23 21:15:59 (GMT) |
commit | 95f32f86d06cb035133f1364d0efe948d80f8682 (patch) | |
tree | 395166c0a3118515352c6000fb6012c646dd2306 /src | |
parent | 65905c8dd54f8bedb9bbf97569c98ebc6290c380 (diff) | |
download | Ninja-95f32f86d06cb035133f1364d0efe948d80f8682.zip Ninja-95f32f86d06cb035133f1364d0efe948d80f8682.tar.gz Ninja-95f32f86d06cb035133f1364d0efe948d80f8682.tar.bz2 |
[windows] use local getopt.h
Diffstat (limited to 'src')
-rw-r--r-- | src/ninja.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ninja.cc b/src/ninja.cc index af80d5c..0189b3e 100644 --- a/src/ninja.cc +++ b/src/ninja.cc @@ -15,8 +15,12 @@ #include "ninja.h" #include <errno.h> +#ifdef WIN32 +#include "getopt.h" +#else #include <getopt.h> #include <limits.h> +#endif #include <stdio.h> #include <string.h> #include <sys/stat.h> |