forked from OSchip/llvm-project
[asan] Attempt to fix test in Windows after r308064
llvm-svn: 308120
This commit is contained in:
parent
9f2f94f64b
commit
3f25b53485
|
@ -26,6 +26,8 @@
|
|||
# define __errno_location __error
|
||||
#elif SANITIZER_ANDROID
|
||||
# define __errno_location __errno
|
||||
#elif SANITIZER_WINDOWS
|
||||
# define __errno_location _errno
|
||||
#endif
|
||||
|
||||
extern "C" int *__errno_location();
|
||||
|
|
Loading…
Reference in New Issue