Changeset 3188 for trunk/src/lib/msc_buffered_printf.c
- Timestamp:
- Mar 24, 2018, 4:32:26 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/msc_buffered_printf.c
r2967 r3188 39 39 #include <conio.h> 40 40 #include <malloc.h> 41 #include "console.h" 41 42 42 43 #undef printf … … 53 54 #endif 54 55 55 extern size_t maybe_con_fwrite(void const *pvBuf, size_t cbUnit, size_t cUnits, FILE *pFile);56 56 57 57 … … 94 94 if (fd >= 0) 95 95 { 96 if (is atty(fd))96 if (is_console(fd)) 97 97 { 98 98 char *pszTmp = (char *)alloca(16384); … … 135 135 if (fd >= 0) 136 136 { 137 if (is atty(fd))137 if (is_console(fd)) 138 138 { 139 139 char *pszTmp = (char *)alloca(16384); … … 182 182 if (fd >= 0) 183 183 { 184 if (is atty(fd))184 if (is_console(fd)) 185 185 { 186 186 HANDLE hCon = (HANDLE)_get_osfhandle(fd);
Note:
See TracChangeset
for help on using the changeset viewer.