mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 20:53:35 +08:00
Linux build support for some libs
The following libs can now be built under Linux: lib/mathlib lib/geo lib/geo_lookup The constants used for ROS are now shared with Linux in px4_defines.h Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
namespace math
|
||||
{
|
||||
|
||||
#ifndef CONFIG_ARCH_ARM
|
||||
#if !defined(CONFIG_ARCH_ARM) && !defined(__PX4_LINUX)
|
||||
#define M_PI_F 3.14159265358979323846f
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user