mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-25 20:26:41 +00:00
Xplatform changes
This commit is contained in:
parent
63ccab10fa
commit
367458469b
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user