[asan] Attempt to fix test in Windows after r308064

llvm-svn: 308120
This commit is contained in:
Vitaly Buka 2017-07-16 00:40:40 +00:00
parent 9f2f94f64b
commit 3f25b53485
1 changed files with 2 additions and 0 deletions

View File

@ -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();