From f37fdd95af06d7b6937cb53d34ea8777342b3aef Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Tue, 6 Jan 2015 19:45:57 +0100 Subject: add and use PX4_ROS preprocessor define --- src/platforms/px4_includes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platforms/px4_includes.h') diff --git a/src/platforms/px4_includes.h b/src/platforms/px4_includes.h index 4d29bc3cd..fc31162c8 100644 --- a/src/platforms/px4_includes.h +++ b/src/platforms/px4_includes.h @@ -41,7 +41,7 @@ #include -#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__)) +#if defined(__PX4_ROS) /* * Building for running within the ROS environment */ -- cgit v1.2.3