This commit is contained in:
Noah Laptop 2020-05-24 13:52:07 -07:00
parent 3d8ff7d341
commit 9964401199

View file

@ -1,11 +1,10 @@
#include "SSLClientParameters.h" #include "SSLClientParameters.h"
// fix for non-exception arduino platforms (Feather and Teensy 4.0) // fix for non-exception arduino platforms (Feather and Teensy 4.0)
#if defined ADAFRUIT_FEATHER_M0 || defined __IMXRT1062__ extern "C"{
namespace std { int attribute((weak)) __exidx_start(){ return -1;}
void __throw_length_error(char const*) {} int attribute((weak)) __exidx_end(){ return -1; }
} }
#endif
struct ssl_pem_decode_state { struct ssl_pem_decode_state {
std::vector<char>* vect; std::vector<char>* vect;