diff options
Diffstat (limited to 'lib/libspl/include/unistd.h')
-rw-r--r-- | lib/libspl/include/unistd.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libspl/include/unistd.h b/lib/libspl/include/unistd.h index 44173d2a4..dc95e28b5 100644 --- a/lib/libspl/include/unistd.h +++ b/lib/libspl/include/unistd.h @@ -44,14 +44,4 @@ # define issetugid() (geteuid() == 0 || getegid() == 0) #endif -#if !defined(__sun__) && !defined(__sun) -/* It seems Solaris only returns positive host ids */ -static inline long fake_gethostid(void) -{ - long id = gethostid(); - return id >= 0 ? id : -id; -} -#define gethostid() fake_gethostid() -#endif - #endif /* _LIBSPL_UNISTD_H */ |