Rename SEARCH_ALL

The constant SEARCH_ALL conflicts with a define in a Windows header.
This patch renames the constant to SEARCH_ALL_DOMAINS to avoid the
conflict.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31307
This commit is contained in:
Tom Tromey
2024-01-29 09:45:35 -07:00
parent 05d1b4b4ad
commit f214edceb8
7 changed files with 9 additions and 9 deletions

View File

@@ -368,7 +368,7 @@ gcc_cplus_convert_symbol (void *datum,
symbol_searcher searcher;
searcher.find_all_symbols (identifier, current_language,
SEARCH_ALL, nullptr, nullptr);
SEARCH_ALL_DOMAINS, nullptr, nullptr);
/* Convert any found symbols. */
for (const auto &it : searcher.matching_symbols ())