diff options
Diffstat (limited to 'src/mumble/AudioOutput.cpp')
-rw-r--r-- | src/mumble/AudioOutput.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mumble/AudioOutput.cpp b/src/mumble/AudioOutput.cpp index a52cc393b..d177103c9 100644 --- a/src/mumble/AudioOutput.cpp +++ b/src/mumble/AudioOutput.cpp @@ -3,14 +3,6 @@ // that can be found in the LICENSE file at the root of the // Mumble source tree or at <https://www.mumble.info/LICENSE>. -// <cmath> includes <math.h>, but only if it isn't already included. -// We include <cmath> as first header to make sure that we include <math.h> with _USE_MATH_DEFINES. -#ifdef _MSC_VER -# define _USE_MATH_DEFINES -#endif - -#include <cmath> - #include "AudioOutput.h" #include "AudioInput.h" @@ -29,6 +21,8 @@ #include "VoiceRecorder.h" #include "Global.h" +#include <cmath> + // Remember that we cannot use static member classes that are not pointers, as the constructor // for AudioOutputRegistrar() might be called before they are initialized, as the constructor // is called from global initialization. |