Browse Source

Fixed windows compile error

QGC4.4
Lorenz Meier 12 years ago
parent
commit
0e242ad72c
  1. 6
      libs/mavlink/include/mavlink/v1.0/mavlink_conversions.h

6
libs/mavlink/include/mavlink/v1.0/mavlink_conversions.h

@ -1,6 +1,12 @@ @@ -1,6 +1,12 @@
#ifndef _MAVLINK_CONVERSIONS_H_
#define _MAVLINK_CONVERSIONS_H_
/* enable math defines on Windows */
#ifdef _MSC_VER
#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
#endif
#include <math.h>
/**

Loading…
Cancel
Save