• Don Gagne's avatar
    Fix macro redefinition errors · 96fd7a03
    Don Gagne authored
    This removes a race condition between both qwt and qt against math.h on
    windows with _USE_MATH_DEFINES set. If math.h comes after qwt or qt
    math headers the math defines will be redefined. Really nasty to track
    down and ordering problems. So instead I just removed using math
    defines on windows and fall back to asin definition of M_PI_2. This
    will have some slight perf impact since it calls function instead of
    using constant. But I doubt on any of today’s machine it really makes a
    difference.
    96fd7a03
Name
Last commit
Last update
avrdude Loading commit data...
data Loading commit data...
deploy Loading commit data...
doc Loading commit data...
files Loading commit data...
libs Loading commit data...
qml Loading commit data...
qupgrade @ 2db4b382 Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
Custom-Info.plist Loading commit data...
QGCExternalLibs.pri Loading commit data...
QGCSetup.pri Loading commit data...
README.md Loading commit data...
demo-log.txt Loading commit data...
license.txt Loading commit data...
qgcvideo.pro Loading commit data...
qgroundcontrol.pro Loading commit data...
qgroundcontrol.qrc Loading commit data...
qgroundcontrol.rc Loading commit data...
qserialport.pri Loading commit data...
qupgrade.pro Loading commit data...
testlog.txt Loading commit data...
testlog2.txt Loading commit data...
user_config.pri.dist Loading commit data...