Skip to content

Commit

Permalink
fix compile with glibc 2.26
Browse files Browse the repository at this point in the history
The failure got triggered by 3c55e2b

sincos is not used anymore, so drop the definition
  • Loading branch information
adrianschroeter committed Nov 21, 2017
1 parent a3d372c commit dcd27da
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/QGCGeo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dcd27da

Please sign in to comment.