diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-01 03:49:43 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-01 03:49:43 -0400 |
commit | b367ab15fa68a59c8532f8d06f5d1b01aa5a5c7a (patch) | |
tree | 5702849fd96c2e1736f2ae7c43c1cf8551affca0 /include/netdb.h | |
parent | 18c0e02e2bd53ceedbb843b06ff90890f1c734b0 (diff) | |
download | musl-b367ab15fa68a59c8532f8d06f5d1b01aa5a5c7a.tar.gz musl-b367ab15fa68a59c8532f8d06f5d1b01aa5a5c7a.tar.bz2 musl-b367ab15fa68a59c8532f8d06f5d1b01aa5a5c7a.tar.xz musl-b367ab15fa68a59c8532f8d06f5d1b01aa5a5c7a.zip |
avoid breakage if somebody wrongly defines empty feature test macros
Diffstat (limited to 'include/netdb.h')
-rw-r--r-- | include/netdb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netdb.h b/include/netdb.h index ff691e0a..3cda7114 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -121,8 +121,8 @@ struct protoent *getprotobyname (const char *); struct protoent *getprotobynumber (int); #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || defined(_POSIX_SOURCE) \ - || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE < 200809L) \ - || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE < 700) + || (defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE+0 < 200809L) \ + || (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE+0 < 700) struct hostent *gethostbyname (const char *); struct hostent *gethostbyaddr (const void *, socklen_t, int); #ifdef __GNUC__ |