goldendict-ng/winlibs/include/stub_msvc.h
xiaoyifang 8313d93469
opt: refactor a string endswith method (#1110)
* opt: refactor a string endswith method

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-08-31 08:02:57 +08:00

16 lines
249 B
C++

#include <string>
#ifdef _MSC_VER
#if !defined(strcasecmp)
# define strcasecmp _strcmpi
#endif
#if !defined(strncasecmp)
# define strncasecmp _strnicmp
#endif
#ifndef _SSIZE_T
#define _SSIZE_T
#define ssize_t long
#endif
#endif