Skip to content
Snippets Groups Projects
Commit 6ecefe79 authored by Lorenz Meier's avatar Lorenz Meier
Browse files

Fix include guards for ROS, needs cleanups

parent 3956a2c8
No related branches found
No related tags found
No related merge requests found
......@@ -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
\ No newline at end of file
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment