mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 20:14:07 +08:00
Fix include guards for ROS, needs cleanups
This commit is contained in:
parent
3956a2c836
commit
6ecefe7930
@ -37,11 +37,11 @@
|
||||
* Main system header with common convenience functions
|
||||
*/
|
||||
|
||||
#ifdef __linux
|
||||
#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
|
||||
#include "ros/ros.h"
|
||||
#define px4_warnx ROS_WARN
|
||||
#define px4_infox ROS_INFO
|
||||
#else
|
||||
#define px4_warnx warnx
|
||||
#define px4_infox warnx
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user