add support for SAM, switch __throw_length_error to weak linkage
This commit is contained in:
parent
376c339c95
commit
fa0c4ee5e2
2 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
#include "SSLClientParameters.h"
|
||||
|
||||
// fix for non-exception arduino platforms (Feather and Teensy 4.0)
|
||||
extern "C"{
|
||||
int __attribute__((weak)) __exidx_start(){ return -1;}
|
||||
int __attribute__((weak)) __exidx_end(){ return -1; }
|
||||
namespace std {
|
||||
void __attribute__((weak)) __throw_length_error(char const*) {}
|
||||
}
|
||||
|
||||
|
||||
struct ssl_pem_decode_state {
|
||||
std::vector<char>* vect;
|
||||
size_t index = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue