From dcd27daf121a96dbf696887d4d3373410d4317a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 21 Nov 2017 09:20:32 +0100 Subject: [PATCH] fix compile with glibc 2.26 The failure got triggered by 3c55e2b0f7dfc48cfe7eb086bc3a30d6a6166905 sincos is not used anymore, so drop the definition --- src/QGCGeo.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/QGCGeo.h b/src/QGCGeo.h index 82d0e4c24..77e2b3b0b 100644 --- a/src/QGCGeo.h +++ b/src/QGCGeo.h @@ -20,11 +20,6 @@ #include -/* 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. -- 2.22.0