aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2015-01-06 19:45:57 +0100
committerThomas Gubler <thomasgubler@gmail.com>2015-01-06 19:45:57 +0100
commitf37fdd95af06d7b6937cb53d34ea8777342b3aef (patch)
tree111537db0b95c767e35f5cd8382d8c1954d52f35 /src/lib
parentee561947e9100f64a206216104e3ce83e8a304ca (diff)
downloadpx4-firmware-f37fdd95af06d7b6937cb53d34ea8777342b3aef.tar.gz
px4-firmware-f37fdd95af06d7b6937cb53d34ea8777342b3aef.tar.bz2
px4-firmware-f37fdd95af06d7b6937cb53d34ea8777342b3aef.zip
add and use PX4_ROS preprocessor define
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/mathlib/math/Matrix.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/mathlib/math/Matrix.hpp b/src/lib/mathlib/math/Matrix.hpp
index 43ba6b9d9..68f0a777d 100644
--- a/src/lib/mathlib/math/Matrix.hpp
+++ b/src/lib/mathlib/math/Matrix.hpp
@@ -122,7 +122,7 @@ public:
memcpy(data, d, sizeof(data));
}
-#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
+#if defined(__PX4_ROS)
/**
* set data from boost::array
*/