diff options
author | Nico Weber <nicolasweber@gmx.de> | 2015-08-02 17:30:44 -0700 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2015-08-02 17:30:44 -0700 |
commit | ddc1777449208ace6f494277c329ebd84671f4b5 (patch) | |
tree | e06fcdc535a77c9d14f82dd5716046ea5354c004 /src/build_log.cc | |
parent | 7182f8776cc5d4b9c55ae33d06ffa3b4cb3d7000 (diff) | |
parent | de1dd6e0641b4aa279f9385f6c71a77c4efc31d4 (diff) | |
download | ninja-ddc1777449208ace6f494277c329ebd84671f4b5.tar.gz |
Merge pull request #998 from LindleyF/stdc-format-macros
Make sure not to re-define __STDC_FORMAT_MACROS.
Diffstat (limited to 'src/build_log.cc')
-rw-r--r-- | src/build_log.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_log.cc b/src/build_log.cc index 281b851..589c6da 100644 --- a/src/build_log.cc +++ b/src/build_log.cc @@ -19,7 +19,9 @@ #include <string.h> #ifndef _WIN32 +#ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS +#endif #include <inttypes.h> #include <unistd.h> #endif |