Skip to content
Closed
Prev Previous commit
Next Next commit
fix Arduino.h for host tests
  • Loading branch information
devyte committed Jan 17, 2018
commit c360eb50f7e4e98253e7594f55908b799b0647a6
3 changes: 3 additions & 0 deletions cores/esp8266/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ void optimistic_yield(uint32_t interval_us);
#include "Updater.h"
#include "debug.h"

//the following #undefs are needed due to a possible prior #include <math.h>
#undef isinf
#undef isnan
using std::min;
using std::max;
using std::isinf;
Expand Down