From 2d5ba365489f49158b62fcf23f4a65253bfccfd4 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 15 Feb 2005 22:52:27 +0000 Subject: [PATCH] Ignorant WinCE fixes for compile breakage git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filefn.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/filefn.cpp b/src/common/filefn.cpp index ab1e71d345..876619c2c7 100644 --- a/src/common/filefn.cpp +++ b/src/common/filefn.cpp @@ -1860,10 +1860,14 @@ bool wxMatchWild( const wxString& pat, const wxString& text, bool dot_special ) // wxFileKind wxGetFileKind(int fd) { +#if !defined (__WXWINCE__) if (isatty(fd)) return wxFILE_KIND_TERMINAL; +#endif -#if defined __WXMSW__ +#if defined __WXWINCE__ + return wxFILE_KIND_UNKNOWN; +#elif defined __WXMSW__ switch (::GetFileType(wxGetOSFHandle(fd)) & ~FILE_TYPE_REMOTE) { case FILE_TYPE_DISK: -- 2.47.2