mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL: add waf argument to get consistent builds
This commit is contained in:
parent
96ba25b144
commit
5f916a7fed
@ -51,6 +51,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
// From: https://stackoverflow.com/questions/19666142/why-is-a-level-of-indirection-needed-for-this-concatenation-macro
|
// From: https://stackoverflow.com/questions/19666142/why-is-a-level-of-indirection-needed-for-this-concatenation-macro
|
||||||
#define WITH_SEMAPHORE( sem ) JOIN( sem, __LINE__, __COUNTER__ )
|
#define WITH_SEMAPHORE( sem ) JOIN( sem, __AP_LINE__, __COUNTER__ )
|
||||||
|
|
||||||
#define JOIN( sem, line, counter ) _DO_JOIN( sem, line, counter )
|
#define JOIN( sem, line, counter ) _DO_JOIN( sem, line, counter )
|
||||||
#define _DO_JOIN( sem, line, counter ) WithSemaphore _getsem ## counter(sem, line)
|
#define _DO_JOIN( sem, line, counter ) WithSemaphore _getsem ## counter(sem, line)
|
||||||
|
Loading…
Reference in New Issue
Block a user