Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2021-03-04 20:39:19 +0300
committerRobert Adam <dev@robert-adam.de>2021-03-06 20:57:22 +0300
commit678e872c2124ec5175106616881f7df41be66647 (patch)
treee34cd09698bf7034b1cb52c9ce055c8688052301 /plugins/mumble_plugin_win32.h
parentff40c92ab4eec3b5d006809f162480e422d3babc (diff)
BUILD(cmake): Always define _USE_MATH_DEFINES
This is needed in order for the <cmath> header to also define constants like M_PI. Instead of manually defining the macro every time before including <cmath>, the macro is now defined via cmake and thus always defined.
Diffstat (limited to 'plugins/mumble_plugin_win32.h')
-rw-r--r--plugins/mumble_plugin_win32.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mumble_plugin_win32.h b/plugins/mumble_plugin_win32.h
index fd101e954..b2d530579 100644
--- a/plugins/mumble_plugin_win32.h
+++ b/plugins/mumble_plugin_win32.h
@@ -10,7 +10,6 @@
# error "Include mumble_plugin_main.h instead of mumble_plugin_win32.h"
#endif
-#define _USE_MATH_DEFINES
#include <stdio.h>
#include <stdlib.h>
// Define "NOMINMAX" only if it isn't already.