]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed Cygwin double definition
authorJulian Smart <julian@anthemion.co.uk>
Tue, 17 May 2005 14:03:04 +0000 (14:03 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 17 May 2005 14:03:04 +0000 (14:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/filedlgg.cpp

index 638c1173f1367343d0816817f763e74069939be7..14a2ca93241d5a4b5386e38b470b66d9c62e222b 100644 (file)
@@ -135,7 +135,7 @@ int wxCALLBACK wxFileDataTimeCompare( long data1, long data2, long 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("/"))
 #endif