mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-23 19:45:34 -04:00
Adding '#define _USE_MATH_DEFINES' to make M_PI declared in Intel and MSVC compilers (#3238)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
3a001d3de2
commit
393334829d
3 changed files with 7 additions and 3 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#include "openmc/plot.h"
|
||||
|
||||
#include <algorithm>
|
||||
#define _USE_MATH_DEFINES // to make M_PI declared in Intel and MSVC compilers
|
||||
#include <cmath>
|
||||
#include <cstdio>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue