From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/nu/winstr.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Src/nu/winstr.c (limited to 'Src/nu/winstr.c') diff --git a/Src/nu/winstr.c b/Src/nu/winstr.c new file mode 100644 index 00000000..1a97df28 --- /dev/null +++ b/Src/nu/winstr.c @@ -0,0 +1,17 @@ +#include +#ifdef __cplusplus +extern "C" { +#endif +size_t __cdecl strlen(const char *s) +{ + return lstrlenA(s); +} + +int __cdecl strcmp(const char *a, const char *b) +{ + return lstrcmpA(a,b); +} + +#ifdef __cplusplus +} +#endif \ No newline at end of file -- cgit