From a974f2b8861bfd60613d1bf441f77a5aa0c6f76a Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Mon, 5 Aug 2024 14:50:32 +0200 Subject: [IMP] QR code on ke_stop screen instead of bootscreen. Signed-off-by: Amlal EL Mahrouss --- Boot/BootKit/Support.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Boot/BootKit/Support.hxx') diff --git a/Boot/BootKit/Support.hxx b/Boot/BootKit/Support.hxx index 4acffb75..95052435 100644 --- a/Boot/BootKit/Support.hxx +++ b/Boot/BootKit/Support.hxx @@ -12,12 +12,16 @@ #define cLongMax ((long)(~0UL >> 1)) #define cLongMin (~cLongMax) +#ifdef __NEWOSLDR__ + #define SetMem(dst, c, sz) memset(dst, c, sz) #define MoveMem(dst, src, sz) memcpy(dst, src, sz) #define CopyMem(dst, src, sz) memcpy(dst, src, sz) #define StrLen(src) strlen(src) #define StrCmp(dst, src) strcmp(dst, src) +#endif // __NEWOSLDR__ + inline int IsSpace(int c) { return c == ' '; -- cgit v1.2.3