reworked std compatibility per https://github.com/OPEnSLab-OSU/SSLClient/pull/10
This commit is contained in:
parent
3d8ff7d341
commit
9964401199
1 changed files with 3 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue