mirror of
https://github.com/espressif/esp-protocols.git
synced 2026-01-25 16:42:27 +01:00
fix(mosq): Fix build with the new picolibc
This commit is contained in:
@@ -16,8 +16,11 @@
|
||||
|
||||
#include <ctype.h>
|
||||
#include "net/if.h"
|
||||
#include "esp_idf_version.h"
|
||||
|
||||
#if ESP_IDF_VERSION_MAJOR < 6
|
||||
#undef isspace
|
||||
#define isspace(__c) (__ctype_lookup((int)__c)&_S)
|
||||
#endif
|
||||
|
||||
#define VERSION "v2.0.20~5"
|
||||
|
||||
Reference in New Issue
Block a user