diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 21:20:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 23:17:46 +0100 |
commit | 6e167c94164fe9cb34ff80a7814c5e2f42bb2fab (patch) | |
tree | 6aa31da7c9eb321d49d0cf46cfb117e5f6433549 /tools | |
parent | 2bbbce83416712ac23edf5641f65c1567753abde (diff) |
Remove SINIX
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/inetdef.hxx | 2 | ||||
-rw-r--r-- | tools/source/fsys/unx.cxx | 4 | ||||
-rw-r--r-- | tools/source/stream/strmunx.cxx | 8 |
3 files changed, 2 insertions, 12 deletions
diff --git a/tools/inc/tools/inetdef.hxx b/tools/inc/tools/inetdef.hxx index ca2e085306c5..89c1031a29bc 100644 --- a/tools/inc/tools/inetdef.hxx +++ b/tools/inc/tools/inetdef.hxx @@ -67,8 +67,6 @@ #define TOOLS_INETDEF_OS "DragonFly/i386" #elif defined DRAGONFLY && defined X86_64 #define TOOLS_INETDEF_OS "DragonFly/amd64" -#elif defined SINIX -#define TOOLS_INETDEF_OS "SINIX" #else // AIX, HPUX, SOLARIS, ... #define TOOLS_INETDEF_OS "Unix" #endif // AIX, HPUX, SOLARIS, ... diff --git a/tools/source/fsys/unx.cxx b/tools/source/fsys/unx.cxx index 5d5811d1e155..2dcb32c66c2e 100644 --- a/tools/source/fsys/unx.cxx +++ b/tools/source/fsys/unx.cxx @@ -66,7 +66,7 @@ struct mnttab #include "comdep.hxx" #include <rtl/instance.hxx> -#if defined SOLARIS || defined SINIX +#if defined SOLARIS #define MOUNTSPECIAL mnt_special #define MOUNTPOINT mnt_mountp #define MOUNTOPTS mnt_mntopts @@ -137,7 +137,7 @@ BOOL GetMountEntry(dev_t dev, struct mymnttab *mytab) static BOOL GetMountEntry(dev_t dev, struct mymnttab *mytab) { -#if defined SOLARIS || defined SINIX +#if defined SOLARIS FILE *fp = fopen (MNTTAB, "r"); if (! fp) return FALSE; diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index 74fddf2b8b31..b35fda0a3f87 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -509,10 +509,6 @@ sal_Bool SvFileStream::LockRange( sal_Size nByteOffset, sal_Size nBytes ) if ( errno == EINVAL || errno == ENOSYS ) return sal_True; #endif - #if defined SINIX - if (errno == EINVAL) - return sal_True; - #endif #if defined SOLARIS if (errno == ENOSYS) return sal_True; @@ -573,10 +569,6 @@ sal_Bool SvFileStream::UnlockRange( sal_Size nByteOffset, sal_Size nBytes ) if ( errno == EINVAL || errno == ENOSYS ) return sal_True; #endif -#if ( defined SINIX ) - if (errno == EINVAL) - return sal_True; -#endif SetError( ::GetSvError( errno )); return sal_False; |