Ensure portability/Windows.h is included before OpenSSL headers
[folly.git] / folly / CPortability.h
index 01e972e9ea03723c7d418de38cdc6b2879d290b6..0989cbc920fb745a07c6e4dee2afa7c72d85b911 100644 (file)
  * used as folly whitelists some functions.
  */
 #if UNDEFINED_SANITIZER
-# define UBSAN_DISABLE(x) __attribute__((no_sanitize(x)))
+# define FOLLY_DISABLE_UNDEFINED_BEHAVIOR_SANITIZER(x) \
+    __attribute__((no_sanitize(x)))
 #else
-# define UBSAN_DISABLE(x)
+# define FOLLY_DISABLE_UNDEFINED_BEHAVIOR_SANITIZER(x)
 #endif // UNDEFINED_SANITIZER
 
 /**