1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-18 08:54:15 +01:00

Fixed problems that blocked compiling on Windows

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3153 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
pip 2011-04-11 10:07:06 +00:00 committed by pip
parent 9f5c393672
commit 697b8d2a13
2 changed files with 11 additions and 1 deletions

View File

@ -135,7 +135,7 @@ private slots:
void savePositionData(); void savePositionData();
void computeScaleBias(); void computeScaleBias();
void multiPointCalibrationMode(); void multiPointCalibrationMode();
void sixPointCalibrationMode(); // void sixPointCalibrationMode(); // this function no longer exists
void attitudeRawUpdated(UAVObject * obj); void attitudeRawUpdated(UAVObject * obj);
void accelBiasattitudeRawUpdated(UAVObject*); void accelBiasattitudeRawUpdated(UAVObject*);
void driftCalibrationAttitudeRawUpdated(UAVObject*); void driftCalibrationAttitudeRawUpdated(UAVObject*);

View File

@ -39,6 +39,16 @@
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#if defined(__APPLE__) || defined(_WIN32)
// Qt bug work around
#ifndef isnan
extern "C" int isnan(double);
#endif
#ifndef isinf
extern "C" int isinf(double);
#endif
#endif
/* /*
* Alas, this implementation is a fairly direct copy of the contents of the * Alas, this implementation is a fairly direct copy of the contents of the
* following papers. You don't have a chance at understanding it without * following papers. You don't have a chance at understanding it without