diff options
Diffstat (limited to 'src/tools/qfileinfo_unix.cpp')
-rw-r--r-- | src/tools/qfileinfo_unix.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/qfileinfo_unix.cpp b/src/tools/qfileinfo_unix.cpp index aed39e468..0a2036053 100644 --- a/src/tools/qfileinfo_unix.cpp +++ b/src/tools/qfileinfo_unix.cpp @@ -45,7 +45,7 @@ #include "ntqdir.h" #include <limits.h> -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) # include <qt_mac.h> #endif #if defined(Q_OS_HURD) @@ -104,7 +104,7 @@ bool TQFileInfo::isSymLink() const doStat(); if(symLink) return TRUE; -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) { FSRef fref; if(FSPathMakeRef((const UInt8 *)TQFile::encodeName(fn).data(), &fref, NULL) == noErr) { @@ -167,7 +167,7 @@ TQString TQFileInfo::readLink() const } #endif /* !PATH_MAX */ #endif /* Q_OS_UNIX && !Q_OS_OS2EMX */ -#if !defined(TQWS) && defined(Q_OS_MAC) +#if defined(Q_OS_MAC) { FSRef fref; if(FSPathMakeRef((const UInt8 *)TQFile::encodeName(fn).data(), &fref, NULL) == noErr) { |