mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
MDNS MultiInterface (#7636)
* MDNS MultiInterface * Move strlcat & strlcpy to __cplusplus * Add LwipIntfCB.cpp to Makefile
This commit is contained in:
@ -268,6 +268,7 @@ ARDUINO_LIBS := \
|
||||
IPAddress.cpp \
|
||||
Updater.cpp \
|
||||
base64.cpp \
|
||||
LwipIntfCB.cpp \
|
||||
) \
|
||||
$(addprefix ../../libraries/ESP8266WiFi/src/,\
|
||||
ESP8266WiFi.cpp \
|
||||
|
@ -62,13 +62,15 @@ extern "C" {
|
||||
// TODO: #include <stdlib_noniso.h> ?
|
||||
char* itoa (int val, char *s, int radix);
|
||||
char* ltoa (long val, char *s, int radix);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
size_t strlcat(char *dst, const char *src, size_t size);
|
||||
size_t strlcpy(char *dst, const char *src, size_t size);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
// exotic typedefs used in the sdk
|
||||
|
||||
#include <stdint.h>
|
||||
|
Reference in New Issue
Block a user