summaryrefslogtreecommitdiffstats
path: root/tdeioslave/file/file.cpp
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2023-05-14 12:34:44 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-05-22 10:47:39 +0900
commit227cd7b44beb0949be8d8186899c91f2fc08ba59 (patch)
treeaa43141f354cb72e1fd394b8e64a96906e1dc9cd /tdeioslave/file/file.cpp
parentb7a4d45c14908b542b91976b71f0d51e785f9006 (diff)
downloadtdelibs-227cd7b44beb0949be8d8186899c91f2fc08ba59.tar.gz
tdelibs-227cd7b44beb0949be8d8186899c91f2fc08ba59.zip
Add SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit e5acdb1b39fa7d97d7153741202709e078b463a6)
Diffstat (limited to 'tdeioslave/file/file.cpp')
-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(),