Xplatform changes

This commit is contained in:
fvanroie 2021-02-16 17:12:38 +01:00
parent 63ccab10fa
commit 367458469b

View File

@ -222,14 +222,11 @@ static WiFiSpiClass WiFi;
#include "svc/hasp_slave.h"
#endif
#ifdef WINDOWS
#ifndef FPSTR
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
#endif
#ifndef PGM_P
#define PGM_P const char *
#endif
#ifndef __FlashStringHelper
#define __FlashStringHelper char
#endif
@ -253,6 +250,7 @@ static WiFiSpiClass WiFi;
#ifndef PROGMEM
#define PROGMEM
#endif
#endif
#ifdef WINDOWS
#include <string.h>