mirror of
https://github.com/espressif/openthread.git
synced 2026-08-03 17:37:46 +00:00
[config] add "openthread-core-config.h" to wrapped stdint/stdbool/string header files (#2270)
This commit is contained in:
committed by
Jonathan Hui
parent
db91ff13c5
commit
43f76b85a5
@@ -25,8 +25,6 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "openthread-core-config.h"
|
||||
|
||||
#include "utils/wrap_string.h"
|
||||
|
||||
size_t missing_strlcat(char *dest, const char *src, size_t size)
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
#if !defined(WRAP_STDBOOL_H)
|
||||
#define WRAP_STDBOOL_H
|
||||
|
||||
#include "openthread-core-config.h"
|
||||
|
||||
#if HAVE_STDBOOL_H
|
||||
#include <stdbool.h>
|
||||
#else
|
||||
|
||||
@@ -27,6 +27,8 @@
|
||||
#if !defined(WRAP_STDINT_H)
|
||||
#define WRAP_STDINT_H
|
||||
|
||||
#include "openthread-core-config.h"
|
||||
|
||||
/* generally all compilers support this */
|
||||
/* Visual Studio only after VS2015 (aka: 19.00) */
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
#if !defined(WRAP_STRING_H)
|
||||
#define WRAP_STRING_H
|
||||
|
||||
#include "openthread-core-config.h"
|
||||
|
||||
/* system provided string.h */
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user