mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 23:43:34 +08:00
add and use PX4_ROS preprocessor define
This commit is contained in:
@@ -51,7 +51,7 @@ using namespace px4;
|
||||
|
||||
PX4_MAIN_FUNCTION(subscriber);
|
||||
|
||||
#if !defined(__linux) && !(defined(__APPLE__) && defined(__MACH__))
|
||||
#if !defined(__PX4_ROS)
|
||||
extern "C" __EXPORT int subscriber_main(int argc, char *argv[]);
|
||||
int subscriber_main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user