Skip to content

Commit 821c871

Browse files
author
David Holmes
committed
8353946: Incorrect WINDOWS ifdef in os::build_agent_function_name
Backport-of: 92e52fe1df84efd94d713afed5acd9c7281a77d7
1 parent 6a7ddb9 commit 821c871

File tree

1 file changed

+1
-1
lines changed
  • src/hotspot/share/runtime

1 file changed

+1
-1
lines changed

src/hotspot/share/runtime/os.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2532,7 +2532,7 @@ char* os::build_agent_function_name(const char *sym_name, const char *lib_name,
25322532
if ((start = strrchr(lib_name, *os::file_separator())) != nullptr) {
25332533
lib_name = ++start;
25342534
}
2535-
#ifdef WINDOWS
2535+
#ifdef _WINDOWS
25362536
else { // Need to check for drive prefix e.g. C:L.dll
25372537
if ((start = strchr(lib_name, ':')) != nullptr) {
25382538
lib_name = ++start;

0 commit comments

Comments
 (0)