diff options
Diffstat (limited to 'Src/nu/winstr.c')
-rw-r--r-- | Src/nu/winstr.c | 17 |
1 files changed, 17 insertions, 0 deletions
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 <windows.h> +#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 |