Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
district10 committed Nov 29, 2023
1 parent 94c6351 commit a0ba91a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nano_fmm/polyline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#include "nano_fmm/types.hpp"
#include <optional>

#define _USE_MATH_DEFINES
#include <cmath>

namespace nano_fmm
{
// https://github.com/cubao/headers/blob/main/include/cubao/polyline_ruler.hpp
Expand Down
3 changes: 3 additions & 0 deletions src/nano_fmm/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#include "nano_fmm/types.hpp"
#include <optional>

#define _USE_MATH_DEFINES
#include <cmath>

namespace nano_fmm
{
namespace utils
Expand Down

0 comments on commit a0ba91a

Please sign in to comment.