summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qglobal.h2
-rw-r--r--qtools/qtools.pro.in2
2 files changed, 3 insertions, 1 deletions
diff --git a/qtools/qglobal.h b/qtools/qglobal.h
index 9c2b53e..2ec484c 100644
--- a/qtools/qglobal.h
+++ b/qtools/qglobal.h
@@ -128,6 +128,8 @@
#define _OS_UNIXWARE7_
#elif !defined(_SCO_DS) && defined(__USLC__) && defined(__SCO_VERSION__)
#define _OS_UNIXWARE7_
+#elif defined(__CYGWIN__)
+#define _OS_CYGWIN_
#else
#error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"
#endif
diff --git a/qtools/qtools.pro.in b/qtools/qtools.pro.in
index 74776ef..1a02797 100644
--- a/qtools/qtools.pro.in
+++ b/qtools/qtools.pro.in
@@ -74,6 +74,6 @@ win32:SOURCES += qfile_win32.cpp \
INCLUDEPATH = .
TMAKE_CXXFLAGS += -DQT_NO_CODECS -DQT_LITE_UNICODE
win32:TMAKE_CXXFLAGS += -DQT_NODLL
-win32-g++:TMAKE_CXXFLAGS += -D_WIN32 -D__CYGWIN__ -DALL_STATIC
+win32-g++:TMAKE_CXXFLAGS += -D__CYGWIN__ -DALL_STATIC
OBJECTS_DIR = ../objects
DESTDIR = ../lib