mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-26 12:05:36 +01:00
d54fc63747
application, for unit tests.
15 lines
272 B
C++
Executable File
15 lines
272 B
C++
Executable File
|
|
//#include <posix.h> // use angled, so posix.h will vary depending of the platform
|
|
|
|
#include <wchar.h>
|
|
|
|
|
|
size_t wcslen(const wchar_t *s)
|
|
{
|
|
const wchar_t* p = s;
|
|
while ( *p++ );
|
|
return (size_t)(p-s-1);
|
|
}
|
|
|
|
//int wcsncmp(const wchar_t *s1, const wchar_t * s2, size_t n);
|