• 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
..
ardupilotmega Loading commit data...
autoquad Loading commit data...
common Loading commit data...
matrixpilot Loading commit data...
pixhawk Loading commit data...
sensesoar Loading commit data...
checksum.h Loading commit data...
mavlink_conversions.h Loading commit data...
mavlink_helpers.h Loading commit data...
mavlink_protobuf_manager.hpp Loading commit data...
mavlink_types.h Loading commit data...
protocol.h Loading commit data...