Revision: 17344
Author:   [email protected]
Date:     Wed Oct 23 13:50:01 2013 UTC
Log:      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.

[email protected]

Review URL: https://codereview.chromium.org/34503012

Patch from Evgeniy Stepanov <[email protected]>.
http://code.google.com/p/v8/source/detail?r=17344

Modified:
 /branches/bleeding_edge/src/msan.h

=======================================
--- /branches/bleeding_edge/src/msan.h  Wed Oct 23 08:39:15 2013 UTC
+++ /branches/bleeding_edge/src/msan.h  Wed Oct 23 13:50:01 2013 UTC
@@ -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

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to