summaryrefslogtreecommitdiffstats
path: root/build/precompile.h
diff options
context:
space:
mode:
authorScott Violet <sky@chromium.org>2014-09-02 13:37:45 -0700
committerScott Violet <sky@chromium.org>2014-09-02 21:00:32 +0000
commit2a70090f34ab279ca1e7097568cc7db3e5acd17b (patch)
tree8fbb2bbd7abb8a80e9559bfe791afd20386bb5df /build/precompile.h
parent1a85132a517b83b9b16c9433a0a65fc54b6ee5ec (diff)
downloadchromium_src-2a70090f34ab279ca1e7097568cc7db3e5acd17b.zip
chromium_src-2a70090f34ab279ca1e7097568cc7db3e5acd17b.tar.gz
chromium_src-2a70090f34ab279ca1e7097568cc7db3e5acd17b.tar.bz2
Fixes compile error
Without this I get compile errors in motion_event_web.cc because M_PI is undeclared. BUG=409940 TEST=none R=scottmg@chromium.org Review URL: https://codereview.chromium.org/533863002 Cr-Commit-Position: refs/heads/master@{#292991}
Diffstat (limited to 'build/precompile.h')
-rw-r--r--build/precompile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/precompile.h b/build/precompile.h
index a3c5193..20ca73c 100644
--- a/build/precompile.h
+++ b/build/precompile.h
@@ -20,6 +20,8 @@
#define BUILD_PRECOMPILE_H_
+#define _USE_MATH_DEFINES
+
// The Windows header needs to come before almost all the other
// Windows-specific headers.
#include <Windows.h>