From 1ad4fd55ea0f2a73f53600d595c6f75fc71c6bbb Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 15 Oct 2008 23:00:42 +0000 Subject: [PATCH] Remove traces of Q_CYGWIN_WIN git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26916 a592a061-630c-0410-9148-cb99ea01b6c8 --- config/qt4.m4 | 4 ---- src/frontends/qt4/FileDialog.cpp | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/config/qt4.m4 b/config/qt4.m4 index 18fae10e05..79fbbc17ca 100644 --- a/config/qt4.m4 +++ b/config/qt4.m4 @@ -127,10 +127,6 @@ AC_DEFUN([QT4_DO_IT_ALL], QT4_CPPFLAGS="-DQT_NO_STL -DQT_NO_KEYWORDS" case ${host} in *mingw*) QT4_CPPFLAGS="-DQT_DLL $QT4_CPPFLAGS";; - *cygwin*) - if test "x$with_x" = xno ; then - QT4_CPPFLAGS="$QT4_CPPFLAGS -DQ_CYGWIN_WIN" - fi;; esac AC_SUBST(QT4_CPPFLAGS) diff --git a/src/frontends/qt4/FileDialog.cpp b/src/frontends/qt4/FileDialog.cpp index 0df24ebbd0..40105c67b9 100644 --- a/src/frontends/qt4/FileDialog.cpp +++ b/src/frontends/qt4/FileDialog.cpp @@ -35,7 +35,7 @@ * * Therefore there is a tradeoff in enabling or disabling this (JMarc) */ -#if defined(Q_WS_MACX) || (defined(Q_WS_WIN) && !defined(Q_CYGWIN_WIN)) +#if defined(Q_WS_MACX) || (defined(Q_WS_WIN) && !defined(Q_OS_CYGWIN)) #define USE_NATIVE_FILEDIALOG 1 #endif