1
0

winstr.c 227 B

1234567891011121314151617
  1. #include <windows.h>
  2. #ifdef __cplusplus
  3. extern "C" {
  4. #endif
  5. size_t __cdecl strlen(const char *s)
  6. {
  7. return lstrlenA(s);
  8. }
  9. int __cdecl strcmp(const char *a, const char *b)
  10. {
  11. return lstrcmpA(a,b);
  12. }
  13. #ifdef __cplusplus
  14. }
  15. #endif