mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 12:46:37 +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"
|
#include "svc/hasp_slave.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef WINDOWS
|
||||||
#ifndef FPSTR
|
#ifndef FPSTR
|
||||||
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
|
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef PGM_P
|
|
||||||
#define PGM_P const char *
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __FlashStringHelper
|
#ifndef __FlashStringHelper
|
||||||
#define __FlashStringHelper char
|
#define __FlashStringHelper char
|
||||||
#endif
|
#endif
|
||||||
@ -253,6 +250,7 @@ static WiFiSpiClass WiFi;
|
|||||||
#ifndef PROGMEM
|
#ifndef PROGMEM
|
||||||
#define PROGMEM
|
#define PROGMEM
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user