mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 12:03:34 +08:00
Fix include guards for ROS, needs cleanups
This commit is contained in:
+2
-2
@@ -37,11 +37,11 @@
|
|||||||
* 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
|
||||||
#else
|
#else
|
||||||
#define px4_warnx warnx
|
#define px4_warnx warnx
|
||||||
#define px4_infox warnx
|
#define px4_infox warnx
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user