From: Julian Smart Date: Tue, 17 May 2005 14:03:04 +0000 (+0000) Subject: Fixed Cygwin double definition X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1d0214f9c2486279d95c42692766a44c2914fad3 Fixed Cygwin double definition git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/filedlgg.cpp b/src/generic/filedlgg.cpp index 638c1173f1..14a2ca9324 100644 --- a/src/generic/filedlgg.cpp +++ b/src/generic/filedlgg.cpp @@ -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