Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1218)

Unified Diff: net/base/host_resolver_impl.cc

Issue 8598010: replace platform conditions with os_posix and os_bsd where applicable (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« crypto/crypto.gyp ('K') | « crypto/crypto.gyp ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/host_resolver_impl.cc
diff --git a/net/base/host_resolver_impl.cc b/net/base/host_resolver_impl.cc
index 334695c55652c7c2bf70b91d7d79444512649292..217f1e1329e678e0500a337fbc45cf9a33e165e1 100644
--- a/net/base/host_resolver_impl.cc
+++ b/net/base/host_resolver_impl.cc
@@ -84,9 +84,11 @@ std::vector<int> GetAllGetAddrinfoOSErrors() {
#if defined(OS_POSIX)
#if !defined(OS_FREEBSD)
#if !defined(OS_ANDROID)
- // EAI_ADDRFAMILY has been declared obsolete in Android's netdb.h.
+ // EAI_ADDRFAMILY has been declared obsolete in Android's and
+ // FreeBSD's netdb.h.
EAI_ADDRFAMILY,
#endif
+ // EAI_NODATA has been declared obsolete in FreeBSD's netdb.h.
EAI_NODATA,
#endif
wtc 2011/11/30 01:08:15 It seems better to use independent ifdefs rather t
EAI_AGAIN,
« crypto/crypto.gyp ('K') | « crypto/crypto.gyp ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698