Fix MEMORY_SANITIZER macro redefinition error.
MEMORY_SANITIZER is defined by default in certain compiler environments (when MemorySanitizer is enabled, of course). Do not redefine it in that case. R=danno@chromium.org Review URL: https://codereview.chromium.org/34503012 Patch from Evgeniy Stepanov <eugenis@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17344 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
bdeaf7514a
commit
2208338b6e
@ -34,7 +34,7 @@
|
||||
# define __has_feature(x) 0
|
||||
#endif
|
||||
|
||||
#if __has_feature(memory_sanitizer)
|
||||
#if __has_feature(memory_sanitizer) && !defined(MEMORY_SANITIZER)
|
||||
# define MEMORY_SANITIZER
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user