commit bd16ed2845f33afebd09840a7506242251a2d8df
parent 496a854557bb592042bd03441916dfb251c53bbe
Author: Kyle Milz <kyle@windows.krwm.net>
Date: Sat, 31 Dec 2016 00:16:38 -0800
src: add windows compat for math constants
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/glyphy/glyphy-common.hh b/src/glyphy/glyphy-common.hh
@@ -21,6 +21,7 @@
#include <glyphy.h>
+#define _USE_MATH_DEFINES // Used on Windows to bring in math constants.
#include <cmath>
#include <math.h>
#include <string.h>