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:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user