8353946: Incorrect WINDOWS ifdef in os::build_agent_function_name

Reviewed-by: kbarrett
This commit is contained in:
David Holmes 2025-04-15 02:00:49 +00:00
parent 5280b7b031
commit 92e52fe1df

View File

@ -2535,7 +2535,7 @@ char* os::build_agent_function_name(const char *sym_name, const char *lib_name,
if ((start = strrchr(lib_name, *os::file_separator())) != nullptr) {
lib_name = ++start;
}
#ifdef WINDOWS
#ifdef _WINDOWS
else { // Need to check for drive prefix e.g. C:L.dll
if ((start = strchr(lib_name, ':')) != nullptr) {
lib_name = ++start;