Ignorant WinCE fixes for compile breakage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-02-15 22:52:27 +00:00
parent 388413fca8
commit 2d5ba36548

View File

@ -1860,10 +1860,14 @@ bool wxMatchWild( const wxString& pat, const wxString& text, bool dot_special )
// //
wxFileKind wxGetFileKind(int fd) wxFileKind wxGetFileKind(int fd)
{ {
#if !defined (__WXWINCE__)
if (isatty(fd)) if (isatty(fd))
return wxFILE_KIND_TERMINAL; 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) switch (::GetFileType(wxGetOSFHandle(fd)) & ~FILE_TYPE_REMOTE)
{ {
case FILE_TYPE_DISK: case FILE_TYPE_DISK: