Fix macro clash with _USE_MATH_DEFINES.

Bug: chromium:788675
Change-Id: I4840fd013a81ffe157323b0bb876d64fd60d8a19
Reviewed-on: https://webrtc-review.googlesource.com/32304
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21235}
This commit is contained in:
Patrik Höglund
2017-12-12 14:41:53 +01:00
committed by Commit Bot
parent 20b294c28e
commit 3ff90f19d3
2 changed files with 4 additions and 0 deletions

View File

@ -12,7 +12,9 @@
#define MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_
// MSVC++ requires this to be set before any other includes to get M_PI.
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
#include <math.h>
#include <stddef.h> // size_t