Chromium Code Reviews| Index: build/precompile.h |
| diff --git a/build/precompile.h b/build/precompile.h |
| index 50a9b87e2fb2326c08ebd94b53d81bd380597d96..3e8cd52cfd4717473d0eca7f617177a3b2e100d5 100644 |
| --- a/build/precompile.h |
| +++ b/build/precompile.h |
| @@ -11,7 +11,10 @@ |
| #define BUILD_PRECOMPILE_H_ |
| +#ifndef _USE_MATH_DEFINES |
| +// Needed to get preprocessor macros like M_PI out of VS libraries. |
| #define _USE_MATH_DEFINES |
| +#endif |
| #include <errno.h> |
| #include <fcntl.h> |