fixed Visual warning

This commit is contained in:
Yann Collet 2015-11-09 18:20:39 +01:00
parent 9f432926b4
commit b7d6e8f6bc

View File

@ -93,6 +93,10 @@
# define IS_CONSOLE(stdStream) isatty(fileno(stdStream))
#endif
#if !defined(S_ISREG)
# define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)
#endif
/* *************************************
* Constants