X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FPortability.h;h=6c140379de9e9920755e3eb70cb615c6bd8acb88;hp=15f393e0be911d2f8eacb252ddc1bad9a362f07b;hb=614eb71734a284e1a9fefabcc48743a3c8efd653;hpb=153c4233eff35be3bd9728c969bd22f59ac6051b diff --git a/folly/Portability.h b/folly/Portability.h index 15f393e0..6c140379 100644 --- a/folly/Portability.h +++ b/folly/Portability.h @@ -199,6 +199,12 @@ constexpr bool kIsSanitizeThread = true; #else constexpr bool kIsSanitizeThread = false; #endif + +#if FOLLY_SANITIZE +constexpr bool kIsSanitize = true; +#else +constexpr bool kIsSanitize = false; +#endif } // namespace folly // packing is very ugly in msvc