yet more mingw w64 build

Fix:
../sys/winnt/nhraykey.c: In function 'CheckInput':
../sys/winnt/nhraykey.c:459:37: warning: type of 'mode' defaults to 'int' [-Wimplicit-int]
 int __declspec(dllexport) __stdcall CheckInput(hConIn, ir, count, numpad,
                                     ^~~~~~~~~~
This commit is contained in:
nhmall
2019-03-13 19:55:43 -04:00
parent 80683eacaf
commit acc92bcacb
2 changed files with 3 additions and 2 deletions

View File

@@ -461,6 +461,7 @@ int __declspec(dllexport) __stdcall CheckInput(hConIn, ir, count, numpad,
HANDLE hConIn;
INPUT_RECORD *ir;
DWORD *count;
int mode;
int *mod;
boolean numpad;
coord *cc;

View File

@@ -10,10 +10,10 @@
#include "func_tab.h"
#include <ctype.h>
#if defined(FILENAME_CMP)
#if defined(FILENAME_CMP) && !defined(strcasecmp)
#define strcasecmp FILENAME_CMP
#endif
#if defined(STRNCMPI)
#if defined(STRNCMPI) && !defined(strncasecmp)
#define strncasecmp strncmpi
#endif