diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/system.c b/sal/osl/unx/system.c index 4bb0e4643d1f..4041edbde42a 100644 --- a/sal/osl/unx/system.c +++ b/sal/osl/unx/system.c @@ -33,7 +33,7 @@ static pthread_mutex_t getrtl_mutex = PTHREAD_MUTEX_INITIALIZER; /* struct passwd differs on some platforms */ -#if !defined(FREEBSD) || (__FreeBSD_version < 601103) +#if defined(MACOSX) || defined(IOS) extern int h_errno; @@ -124,7 +124,7 @@ struct hostent *gethostbyname_r(const char *name, struct hostent *result, return res; } -#endif /* !defined(FREEBSD) || (__FreeBSD_version < 601103) */ +#endif // OSX || IOS #if defined(MACOSX) /* |