Skip to content

Commit

Permalink
REFAC(client): Remove unnecessary include
Browse files Browse the repository at this point in the history
The windows header was included for the definition of M_PI. However
given that we define _USE_MATH_DEFINES globally for all source files and
cmath is included already, this symbol is defined by cmath, making the
windows-specific header superfluous.
  • Loading branch information
Krzmbrzl committed Jun 1, 2021
1 parent 28f6f8b commit 3a4d9df
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugins/mumble_positional_audio_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
# include <fenv.h>
#endif

#ifdef _MSC_VER
# include <corecrt_math_defines.h>
# include <intrin.h>
#endif

/// This union is used by isBigEndian() to determine the endianness.
union SingleSplit4Bytes {
uint32_t single;
Expand Down

0 comments on commit 3a4d9df

Please sign in to comment.