mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
use /dev/tty instead of /dev/consile for Cygwin
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
b4b42d2215
commit
9dc9aa7d17
@ -228,7 +228,11 @@ void FileTest::testFileAttributes2()
|
|||||||
void FileTest::testFileAttributes3()
|
void FileTest::testFileAttributes3()
|
||||||
{
|
{
|
||||||
#if defined(POCO_OS_FAMILY_UNIX)
|
#if defined(POCO_OS_FAMILY_UNIX)
|
||||||
|
#if POCO_OS==POCO_OS_CYGWIN
|
||||||
|
File f("/dev/tty");
|
||||||
|
#else
|
||||||
File f("/dev/console");
|
File f("/dev/console");
|
||||||
|
#endif
|
||||||
#elif defined(POCO_OS_FAMILY_WINDOWS) && !defined(_WIN32_WCE)
|
#elif defined(POCO_OS_FAMILY_WINDOWS) && !defined(_WIN32_WCE)
|
||||||
File f("CON");
|
File f("CON");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user