Skip to content

Commit

Permalink
Bug 1881737 - Define mozilla::net::DNSThreadShutdown on Solaris and o…
Browse files Browse the repository at this point in the history
…ther platforms r=necko-reviewers,kershaw

DNSThreadShutdown is defined for and Win, Unix and Android, but we should also have
an empty impl for other platforms.

Differential Revision: https://phabricator.services.mozilla.com/D202629
  • Loading branch information
valenting committed Feb 26, 2024
1 parent c78092f commit 1bf6a99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netwerk/dns/GetAddrInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ nsresult ResolveHTTPSRecordImpl(const nsACString& aHost, uint16_t aFlags,
return NS_ERROR_NOT_IMPLEMENTED;
}

void DNSThreadShutdown() {}

#endif // MOZ_NO_HTTPS_IMPL

} // namespace mozilla::net

0 comments on commit 1bf6a99

Please sign in to comment.