Fix include guards for ROS, needs cleanups

This commit is contained in:
Lorenz Meier 2014-11-04 22:52:30 +01:00
parent 3956a2c836
commit 6ecefe7930

View File

@ -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