-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'std::string' has not been declared (issue #1967)
Ported from 259855a
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters