summaryrefslogtreecommitdiff
path: root/absl/base/config.h
diff options
context:
space:
mode:
authorGravatar Milad Fa <46688537+miladfarca@users.noreply.github.com>2021-09-23 16:23:02 -0400
committerGravatar GitHub <noreply@github.com>2021-09-23 16:23:02 -0400
commitf3a42743db4df4c98e1df690045577c775daf20b (patch)
treee63f48001f0d1e339d9c1b95fcdbf2c6da4edcd5 /absl/base/config.h
parent020619c4aa68d13dfbdd6107a373912bb5ea85af (diff)
Initial support for AIX (#1021)
* Init support of AIX * make sysinfo change AIX specific * Relocate TBF * Add comments for .csect psudo op.
Diffstat (limited to 'absl/base/config.h')
-rw-r--r--absl/base/config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/absl/base/config.h b/absl/base/config.h
index c7b2e64d..5d3edcd2 100644
--- a/absl/base/config.h
+++ b/absl/base/config.h
@@ -408,10 +408,10 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' ||
// POSIX.1-2001.
#ifdef ABSL_HAVE_MMAP
#error ABSL_HAVE_MMAP cannot be directly set
-#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || \
- defined(__ros__) || defined(__native_client__) || defined(__asmjs__) || \
- defined(__wasm__) || defined(__Fuchsia__) || defined(__sun) || \
- defined(__ASYLO__) || defined(__myriad2__)
+#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || \
+ defined(_AIX) || defined(__ros__) || defined(__native_client__) || \
+ defined(__asmjs__) || defined(__wasm__) || defined(__Fuchsia__) || \
+ defined(__sun) || defined(__ASYLO__) || defined(__myriad2__)
#define ABSL_HAVE_MMAP 1
#endif
@@ -422,7 +422,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' ||
#ifdef ABSL_HAVE_PTHREAD_GETSCHEDPARAM
#error ABSL_HAVE_PTHREAD_GETSCHEDPARAM cannot be directly set
#elif defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__) || \
- defined(__ros__)
+ defined(_AIX) || defined(__ros__)
#define ABSL_HAVE_PTHREAD_GETSCHEDPARAM 1
#endif