mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 16:54:08 +00:00
8313d93469
* 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>
16 lines
249 B
C++
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
|
|
|