mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-26 13:27:59 +00:00
8353946: Incorrect WINDOWS ifdef in os::build_agent_function_name
Reviewed-by: kbarrett
This commit is contained in:
parent
5280b7b031
commit
92e52fe1df
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user