mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 20:06:05 +00:00
[sanitizer_common] Fix build breakage by guarding #include <dlfcn.h>
My change
(0be4c6b948
) broke the Windows buildbot
(https://lab.llvm.org/buildbot/#/builders/127/builds/57976/steps/4/logs/stdio)
This fixes forward by adding a guard
This commit is contained in:
parent
90da688bac
commit
a34f3772e8
@ -13,10 +13,12 @@
|
||||
|
||||
#include "sanitizer_dl.h"
|
||||
|
||||
#include <dlfcn.h>
|
||||
|
||||
#include "sanitizer_common/sanitizer_platform.h"
|
||||
|
||||
#if SANITIZER_GLIBC
|
||||
# include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
namespace __sanitizer {
|
||||
extern const char *SanitizerToolName;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user