mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-28 16:50:10 +00:00
8378440: ASAN build fails on Windows due to missing dlfcn.h file
Reviewed-by: stuefe
This commit is contained in:
parent
2cdf617952
commit
e042467ed2
@ -30,6 +30,7 @@
|
||||
#include "utilities/globalDefinitions.hpp"
|
||||
#include "utilities/vmError.hpp"
|
||||
|
||||
#ifndef _WINDOWS
|
||||
#include <dlfcn.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@ -118,4 +119,11 @@ void Asan::report(outputStream* st) {
|
||||
}
|
||||
}
|
||||
|
||||
#else // defined windows
|
||||
|
||||
void Asan::initialize() {}
|
||||
bool Asan::had_error() { return false; }
|
||||
void Asan::report(outputStream* st) {}
|
||||
#endif // ifndef _WINDOWS
|
||||
|
||||
#endif // ADDRESS_SANITIZER
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user