diff options
author | Scott Graham <sgraham@gmail.com> | 2012-01-04 01:04:49 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2012-01-04 01:04:49 (GMT) |
commit | 6d338066d09b825aa18f453090333d477e2a9a06 (patch) | |
tree | 9b756cb905f1365daefe9fd40a0c59bf89108f42 /src/getopt.c | |
parent | d0742f5635c6f5f998a7dce4991e51a0956c4cb1 (diff) | |
download | Ninja-6d338066d09b825aa18f453090333d477e2a9a06.zip Ninja-6d338066d09b825aa18f453090333d477e2a9a06.tar.gz Ninja-6d338066d09b825aa18f453090333d477e2a9a06.tar.bz2 |
windows: make bootstrap.py/configure.py work with MSVC
Diffstat (limited to 'src/getopt.c')
-rw-r--r-- | src/getopt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/getopt.c b/src/getopt.c index 177e503..0dbe6a5 100644 --- a/src/getopt.c +++ b/src/getopt.c @@ -91,6 +91,10 @@ gpietsch@comcast.net #include "getopt.h" #endif +#ifdef _WIN32 +#pragma warning(disable: 4701) +#endif + /* macros */ /* types */ |