summaryrefslogtreecommitdiffstats
path: root/qmake/generators/mac/metrowerks_xml.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qmake/generators/mac/metrowerks_xml.cpp')
-rw-r--r--qmake/generators/mac/metrowerks_xml.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qmake/generators/mac/metrowerks_xml.cpp b/qmake/generators/mac/metrowerks_xml.cpp
index 22cc89b33..3d7853df6 100644
--- a/qmake/generators/mac/metrowerks_xml.cpp
+++ b/qmake/generators/mac/metrowerks_xml.cpp
@@ -43,7 +43,7 @@
#include <ntqregexp.h>
#include <stdlib.h>
#include <time.h>
-#if !defined(TQWS) && defined(Q_OS_MAC)
+#if defined(Q_OS_MAC)
#include <Carbon/Carbon.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -621,7 +621,7 @@ MetrowerksMakefileGenerator::findTemplate(const TQString &file)
bool
MetrowerksMakefileGenerator::createFork(const TQString &f)
{
-#if !defined(TQWS) && defined(Q_OS_MACX)
+#if defined(Q_OS_MACX)
FSRef fref;
FSSpec fileSpec;
if(TQFile::exists(f)) {
@@ -664,7 +664,7 @@ MetrowerksMakefileGenerator::fixifyToMacPath(TQString &p, TQString &v, bool )
static TQString st_volume;
if(st_volume.isEmpty()) {
st_volume = var("QMAKE_VOLUMENAME");
-#if !defined(TQWS) && defined(Q_OS_MACX)
+#if defined(Q_OS_MACX)
if(st_volume.isEmpty()) {
uchar foo[512];
HVolumeParam pb;