Enable memrchr interceptor only on Linux

llvm-svn: 202981
This commit is contained in:
Alexey Samsonov 2014-03-05 14:07:19 +00:00
parent 32aa12b86c
commit e062e4c7eb
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
#define SANITIZER_INTERCEPT_TEXTDOMAIN SI_LINUX_NOT_ANDROID
#define SANITIZER_INTERCEPT_STRCASECMP SI_NOT_WINDOWS
#define SANITIZER_INTERCEPT_MEMCHR 1
#define SANITIZER_INTERCEPT_MEMRCHR SI_NOT_WINDOWS
#define SANITIZER_INTERCEPT_MEMRCHR SI_LINUX
#define SANITIZER_INTERCEPT_READ SI_NOT_WINDOWS
#define SANITIZER_INTERCEPT_PREAD SI_NOT_WINDOWS