about summary refs log tree commit diff
path: root/absl/random/beta_distribution.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/random/beta_distribution.h')
-rw-r--r--absl/random/beta_distribution.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/random/beta_distribution.h b/absl/random/beta_distribution.h
index d7afd61c7fb1..e29894f2037f 100644
--- a/absl/random/beta_distribution.h
+++ b/absl/random/beta_distribution.h
@@ -129,7 +129,7 @@ class beta_distribution {
    private:
     friend class beta_distribution;
 
-#ifdef COMPILER_MSVC
+#ifdef _MSC_VER
     // MSVC does not have constexpr implementations for std::log and std::exp
     // so they are computed at runtime.
 #define ABSL_RANDOM_INTERNAL_LOG_EXP_CONSTEXPR