Fixed Cygwin double definition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-05-17 14:03:04 +00:00
parent 84c62b4f52
commit 1d0214f9c2

View File

@@ -135,7 +135,7 @@ int wxCALLBACK wxFileDataTimeCompare( long data1, long data2, long data)
return fd1->GetDateTime().IsLaterThan(fd2->GetDateTime()) ? int(data) : -int(data); return fd1->GetDateTime().IsLaterThan(fd2->GetDateTime()) ? int(data) : -int(data);
} }
#if defined(__UNIX__) && !defined(__OS2__) #if defined(__UNIX__) && !defined(__OS2__) && !defined(__CYGWIN__)
#define IsTopMostDir(dir) (dir == wxT("/")) #define IsTopMostDir(dir) (dir == wxT("/"))
#endif #endif