diff options
author | Francois Tigeot <ftigeot@wolfpond.org> | 2011-02-15 12:12:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-15 15:52:04 +0000 |
commit | c787fcbf1e698bbb15bed9997a8b58382b5857d0 (patch) | |
tree | 3a7414faabecdffdcab934a336dc7d92ae401a34 /tools/source/stream | |
parent | 659279c8def8141e6f6da4d580dfb0c7624affa4 (diff) |
dragonfly stuff
Diffstat (limited to 'tools/source/stream')
-rw-r--r-- | tools/source/stream/strmunx.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx index b138cd469ee3..74fddf2b8b31 100644 --- a/tools/source/stream/strmunx.cxx +++ b/tools/source/stream/strmunx.cxx @@ -210,8 +210,9 @@ static sal_uInt32 GetSvError( int nErrno ) { 0, SVSTREAM_OK }, { EACCES, SVSTREAM_ACCESS_DENIED }, { EBADF, SVSTREAM_INVALID_HANDLE }, -#if defined( RS6000 ) || defined( ALPHA ) || defined( NETBSD ) || defined(FREEBSD) || defined(MACOSX) || \ - defined(OPENBSD) || defined(__FreeBSD_kernel__) || defined ( AIX ) +#if defined(RS6000) || defined(ALPHA) || defined(NETBSD) || \ + defined(FREEBSD) || defined(MACOSX) || defined(OPENBSD) || \ + defined(__FreeBSD_kernel__) || defined (AIX) || defined(DRAGONFLY) { EDEADLK, SVSTREAM_LOCKING_VIOLATION }, #else { EDEADLOCK, SVSTREAM_LOCKING_VIOLATION }, @@ -225,8 +226,9 @@ static sal_uInt32 GetSvError( int nErrno ) { EAGAIN, SVSTREAM_LOCKING_VIOLATION }, { EISDIR, SVSTREAM_PATH_NOT_FOUND }, { ELOOP, SVSTREAM_PATH_NOT_FOUND }, -#if ! defined( RS6000 ) && ! defined( ALPHA ) && ! defined( NETBSD ) && ! defined (FREEBSD) && ! defined (MACOSX) && \ - !defined(OPENBSD) && ! defined(__FreeBSD_kernel__) +#if !defined(RS6000) && !defined(ALPHA) && !defined(NETBSD) && !defined (FREEBSD) && \ + !defined(MACOSX) && !defined(OPENBSD) && !defined(__FreeBSD_kernel__) && \ + !defined(DRAGONFLY) { EMULTIHOP, SVSTREAM_PATH_NOT_FOUND }, { ENOLINK, SVSTREAM_PATH_NOT_FOUND }, #endif |