mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
Include Arduino.h AFTER memory.h
Arduino.h defines min/max which are then redefined with templates in stl_algobase.h imported from memory.h. This is the least impactful way I can find to get past this for now and unblock use of wificlient in more scenarios.
This commit is contained in:
parent
3873627249
commit
7f7a1ac420
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
#ifndef wificlient_h
|
#ifndef wificlient_h
|
||||||
#define wificlient_h
|
#define wificlient_h
|
||||||
|
#include <memory>
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "Print.h"
|
#include "Print.h"
|
||||||
#include "Client.h"
|
#include "Client.h"
|
||||||
#include "IPAddress.h"
|
#include "IPAddress.h"
|
||||||
#include <memory>
|
|
||||||
#include "include/slist.h"
|
#include "include/slist.h"
|
||||||
|
|
||||||
#define WIFICLIENT_MAX_PACKET_SIZE 1460
|
#define WIFICLIENT_MAX_PACKET_SIZE 1460
|
||||||
|
Loading…
x
Reference in New Issue
Block a user