summaryrefslogtreecommitdiffstats
path: root/tdeioslave/file
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/file')
-rw-r--r--tdeioslave/file/file.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/tdeioslave/file/file.cpp b/tdeioslave/file/file.cpp
index b7ac91bfd..bf18a069b 100644
--- a/tdeioslave/file/file.cpp
+++ b/tdeioslave/file/file.cpp
@@ -1446,15 +1446,15 @@ void FileProtocol::mount( bool _ro, const char *_fstype, const TQString& _dev, c
buffer.sprintf( "%s %s %s %s 2>%s", mountProg.latin1(), readonly.data(), dev.data(), point.data(), tmp );
else
// mount giving device + mountpoint + fstype
-#if defined(__svr4__) && defined(__sun__)
- // MACRO for Solaris 8 and I
+#if defined(Q_OS_SOLARIS)
+ // MACRO for Solaris 8 and I
// believe this is true for SVR4 in general
- buffer.sprintf( "%s -F %s %s %s %s 2>%s"
- mountProg.latin1()
- fstype.data()
- _ro ? "-oro" : ""
- dev.data()
- point.data()
+ buffer.sprintf( "%s -F %s %s %s %s 2>%s",
+ mountProg.latin1(),
+ fstype.data(),
+ _ro ? "-oro" : "",
+ dev.data(),
+ point.data(),
tmp );
#elif defined(__OpenBSD__)
buffer.sprintf( "%s %s %s -t %s %s %s 2>%s", "tdesu", mountProg.latin1(), readonly.data(),