summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Purcell <me@seanp.xyz>2017-03-27 19:26:04 (GMT)
committerSean Purcell <me@seanp.xyz>2017-03-27 19:26:12 (GMT)
commit9b1f00056aaa8b1c4d0877d1f73c9da6c2b1e2d7 (patch)
treea4c1dd6caf0dfca7b09f31a38a5dec1852dd81d5
parentafde27acf29389fe22cee4da07eafbfc4ebaf3ed (diff)
downloadlz4-9b1f00056aaa8b1c4d0877d1f73c9da6c2b1e2d7.zip
lz4-9b1f00056aaa8b1c4d0877d1f73c9da6c2b1e2d7.tar.gz
lz4-9b1f00056aaa8b1c4d0877d1f73c9da6c2b1e2d7.tar.bz2
Fix inline compile errors
-rw-r--r--programs/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/platform.h b/programs/platform.h
index 1238140..66491b6 100644
--- a/programs/platform.h
+++ b/programs/platform.h
@@ -115,7 +115,7 @@ extern "C" {
# include <io.h> /* _isatty */
# include <windows.h> /* DeviceIoControl, HANDLE, FSCTL_SET_SPARSE */
# include <stdio.h> /* 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);