forked from bblanchon/ArduinoJson
Fix 'std::string' has not been declared (issue #1967)
Ported from 259855a87b
This commit is contained in:
1 parent
750d53f8c7
commit
b20653ee1a
3 files changed
+18
No files matched your search
@@ -0,0 +1,13 @@
|
||||
// ArduinoJson - https://arduinojson.org
|
||||
// Copyright © 2014-2023, Benoit BLANCHON
|
||||
// MIT License
|
||||
|
||||
// we expect ArduinoJson.h to include <string>
|
||||
#define ARDUINOJSON_ENABLE_STD_STRING 1
|
||||
|
||||
// but we don't want it to included accidentally
|
||||
#undef ARDUINO
|
||||
#define ARDUINOJSON_ENABLE_STD_STREAM 0
|
||||
#define ARDUINOJSON_ENABLE_STRING_VIEW 0
|
||||
|
||||
#include <ArduinoJson.h>
|
||||
Reference in new issue
Block a user