mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 13:33:40 +08:00
Fix include guards for ROS, needs cleanups
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@
|
|||||||
* Main system header with common convenience functions
|
* Main system header with common convenience functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __linux
|
#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
|
||||||
#include "ros/ros.h"
|
#include "ros/ros.h"
|
||||||
#define px4_warnx ROS_WARN
|
#define px4_warnx ROS_WARN
|
||||||
#define px4_infox ROS_INFO
|
#define px4_infox ROS_INFO
|
||||||
|
|||||||
Reference in New Issue
Block a user