Index: net/dns/dns_config_service_posix_unittest.cc |
diff --git a/net/dns/dns_config_service_posix_unittest.cc b/net/dns/dns_config_service_posix_unittest.cc |
index 1c7dd3638d2679cb01babb46cc3dc20dccbe0485..92e46ed19777f7b2eeb47c46ccc56d3ab03c112a 100644 |
--- a/net/dns/dns_config_service_posix_unittest.cc |
+++ b/net/dns/dns_config_service_posix_unittest.cc |
@@ -20,12 +20,14 @@ const char* kNameserversIPv4[] = { |
"1.0.0.1", |
}; |
+#if defined(OS_LINUX) |
const char* kNameserversIPv6[] = { |
NULL, |
"2001:DB8:0::42", |
NULL, |
"::FFFF:129.144.52.38", |
}; |
+#endif |
// Fills in |res| with sane configuration. |
void InitializeResState(res_state res) { |