Skip to content

Commit e1e68d8

Browse files
committed
fix: define _USE_MATH_DEFINES for M_PI on Windows/MSVC
MSVC requires _USE_MATH_DEFINES before cmath to expose M_PI.
1 parent ad29919 commit e1e68d8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Source/LocalDetector.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#define _USE_MATH_DEFINES
12
#include "LocalDetector.h"
23
#include <cmath>
34

0 commit comments

Comments
 (0)