about summary refs log tree commit diff
path: root/absl/base/policy_checks.h
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2018-05-14T14·57-0700
committerjueminyang <jueminyang@google.com>2018-05-14T17·15-0400
commitadd89fd0e4bfd7d874bb55b67f4e13bf8beca762 (patch)
treed33fe008a0b8b6764d062f8c9f6f59b624515728 /absl/base/policy_checks.h
parentdd9911a004edcc34152850a6216bb3b53ad6bb82 (diff)
- 6194c9b0d6dbdbeeb27b19d5c61562f985b25ff2 Removing support for NaCL in dynamic_annotations.h. by Abseil Team <absl-team@google.com>
  - 6f89386971a21422c4cd9653e965c96d9f7a3573 Fix handling of VDSOs that are loaded lower then their li... by Abseil Team <absl-team@google.com>
  - f27a7269ab714c9c75fe4e15fa1bce8b12531a92 Check that __GLIBC__ is defined before checking for __GLI... by Derek Mauro <dmauro@google.com>

GitOrigin-RevId: 6194c9b0d6dbdbeeb27b19d5c61562f985b25ff2
Change-Id: I3eceb6f76bf2b25d55d1f5f77fba57af947da0cf
Diffstat (limited to 'absl/base/policy_checks.h')
-rw-r--r--absl/base/policy_checks.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/policy_checks.h b/absl/base/policy_checks.h
index d634dac68dcf..0a07fc035e15 100644
--- a/absl/base/policy_checks.h
+++ b/absl/base/policy_checks.h
@@ -86,7 +86,7 @@
 // in May, 2010 and includes some functionality used in Google software
 // (for instance pthread_setname_np):
 // https://sourceware.org/ml/libc-alpha/2010-05/msg00000.html
-#ifdef __GLIBC_PREREQ
+#if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
 #if !__GLIBC_PREREQ(2, 12)
 #error "Minimum required version of glibc is 2.12."
 #endif