Browse Source

AP_Common: remove NuttX/C++10-related code

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
b97f9cc555
  1. 6
      libraries/AP_Common/AP_Common.h

6
libraries/AP_Common/AP_Common.h

@ -58,12 +58,6 @@ @@ -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…
Cancel
Save