mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_Common: remove NuttX/C++10-related code
This commit is contained in:
parent
d89f740460
commit
b97f9cc555
@ -58,12 +58,6 @@
|
||||
#define WARN_IF_UNUSED
|
||||
#endif
|
||||
|
||||
// use this to avoid issues between C++11 with NuttX and C++10 on
|
||||
// other platforms.
|
||||
#if !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L)
|
||||
# define constexpr const
|
||||
#endif
|
||||
|
||||
#define NORETURN __attribute__ ((noreturn))
|
||||
|
||||
#define ToRad(x) radians(x) // *pi/180
|
||||
|
Loading…
Reference in New Issue
Block a user