diff --git a/windows/winstuff.h b/windows/winstuff.h index c941e3c3..8c281944 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -93,6 +93,11 @@ struct FontSpec *fontspec_new(const char *name, #define PLATFORM_HAS_SMEMCLR /* inhibit cross-platform one in misc.c */ #endif +/* Up-to-date Windows headers warn that the unprefixed versions of + * these names are deprecated. */ +#define stricmp _stricmp +#define strnicmp _strnicmp + #define BROKEN_PIPE_ERROR_CODE ERROR_BROKEN_PIPE /* used in sshshare.c */ /*