From: Sean Purcell Date: Mon, 27 Mar 2017 19:26:40 +0000 (-0700) Subject: Fix inline compile errors X-Git-Tag: v1.2.0^2~80^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F633%2Fhead;p=thirdparty%2Fzstd.git Fix inline compile errors --- diff --git a/programs/platform.h b/programs/platform.h index 819bec873..ee7819512 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -107,7 +107,7 @@ extern "C" { # include /* _isatty */ # include /* DeviceIoControl, HANDLE, FSCTL_SET_SPARSE */ # include /* FILE */ -static inline int IS_CONSOLE(FILE* stdStream) +static __inline int IS_CONSOLE(FILE* stdStream) { DWORD dummy; return _isatty(_fileno(stdStream)) && GetConsoleMode((HANDLE)_get_osfhandle(_fileno(stdStream)), &dummy);