mirror of https://github.com/FreeRDP/FreeRDP
Fix: isatty is called _isatty on windows
This commit is contained in:
parent
d846024e85
commit
77b2d6e298
|
@ -22,7 +22,14 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef _WIN32
|
||||
#include <io.h>
|
||||
#define isatty _isatty
|
||||
#ifndef STDIN_FILENO
|
||||
#define STDIN_FILENO 0
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <freerdp/settings.h>
|
||||
#include <freerdp/constants.h>
|
||||
#include <freerdp/utils/print.h>
|
||||
|
|
Loading…
Reference in New Issue