diff options
Diffstat (limited to 'src/iscygpty.c')
-rw-r--r-- | src/iscygpty.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/iscygpty.c b/src/iscygpty.c index 73d5143abc..9dded85485 100644 --- a/src/iscygpty.c +++ b/src/iscygpty.c @@ -56,6 +56,11 @@ # endif #endif // USE_FILEEXTD +#ifdef __MINGW32__ +# define UNUSED __attribute__((unused)) +#else +# define UNUSED +#endif #include "iscygpty.h" @@ -70,10 +75,10 @@ static pfnGetFileInformationByHandleEx pGetFileInformationByHandleEx = NULL; # ifndef USE_FILEEXTD static BOOL WINAPI stub_GetFileInformationByHandleEx( - HANDLE hFile, - FILE_INFO_BY_HANDLE_CLASS FileInformationClass, - LPVOID lpFileInformation, - DWORD dwBufferSize) + HANDLE hFile UNUSED, + FILE_INFO_BY_HANDLE_CLASS FileInformationClass UNUSED, + LPVOID lpFileInformation UNUSED, + DWORD dwBufferSize UNUSED) { return FALSE; } |