Clear mingw warnings
Some checks are pending
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI MacOS / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI Windows / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (windows-2022) (push) Waiting to run

This commit is contained in:
Vladimir Dubrovin 2026-05-06 23:07:16 +03:00
parent 88a09bc3ff
commit ec48b7f30e

View File

@ -121,8 +121,12 @@ void daemonize(void);
#endif #endif
#ifdef _WIN32 #ifdef _WIN32
#ifndef strcasecmp
#define strcasecmp stricmp #define strcasecmp stricmp
#endif
#ifndef strncasecmp
#define strncasecmp strnicmp #define strncasecmp strnicmp
#endif
#define seterrno3(x) _set_errno(x) #define seterrno3(x) _set_errno(x)
#else #else
#define seterrno3(x) (errno = x) #define seterrno3(x) (errno = x)