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:
Mark Charlebois
2015-04-20 10:57:01 -07:00
parent e3f152b5c1
commit 62f8bd6679
5 changed files with 204 additions and 46 deletions
+1 -1
View File
@@ -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