Browse Source

fix compile with glibc 2.26

The failure got triggered by 3c55e2b0f7

sincos is not used anymore, so drop the definition
QGC4.4
Adrian Schröter 8 years ago
parent
commit
dcd27daf12
  1. 5
      src/QGCGeo.h

5
src/QGCGeo.h

@ -20,11 +20,6 @@ @@ -20,11 +20,6 @@
#include <QGeoCoordinate>
/* Safeguard for systems lacking sincos (e.g. Mac OS X Leopard) */
#ifndef sincos
#define sincos(th,x,y) { (*(x))=sin(th); (*(y))=cos(th); }
#endif
/**
* @brief Project a geodetic coordinate on to local tangential plane (LTP) as coordinate with East,
* North, and Down components in meters.

Loading…
Cancel
Save