Skip to content

Commit

Permalink
fixed compilation error for windows
Browse files Browse the repository at this point in the history
tmori committed Dec 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 7b4f6a8 commit 4174c7c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drone_control/common/include/frame_types.h
Original file line number Diff line number Diff line change
@@ -3,8 +3,10 @@

#ifdef WIN32
#define _USE_MATH_DEFINES
#endif
#include <cmath>
#else
#include <cmath>
#endif
//#ifndef M_PI
//#define M_PI 3.14159265358979323846
//#endif

0 comments on commit 4174c7c

Please sign in to comment.