Add support for Teensy 4.x

Teensy 4.x doesn't support exidx calls (yet), this fixes support for Teensy 4.x.
This commit is contained in:
Blair Wyatt 2020-05-21 18:46:59 +10:00 committed by GitHub
parent f20f619947
commit 226307d0bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
#include "SSLClientParameters.h"
// fix for non-exception arduino platforms
#ifdef ADAFRUIT_FEATHER_M0
// fix for non-exception arduino platforms (Feather and Teensy 4.0)
#if defined ADAFRUIT_FEATHER_M0 || defined __IMXRT1062__
namespace std {
void __throw_length_error(char const*) {}
}