try moving _USE_MATH_DEFINES to cpp file from header for windows compilation

This commit is contained in:
Colin Denniston
2022-03-10 11:15:25 -05:00
parent 1e4a6dcb41
commit 5bf1ab0e2d

View File

@ -31,6 +31,9 @@
#include "random_mars.h"
#include "update.h"
#include <cfloat>
#ifndef _USE_MATH_DEFINES // needed for compilation under windows
#define _USE_MATH_DEFINES
#endif
#include <cmath>
#include <cstring>
#include <fstream>