summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ahedberg <ahedberg@google.com>2018-07-18 13:06:57 -0400
committerGravatar GitHub <noreply@github.com>2018-07-18 13:06:57 -0400
commitb973bc53ef366f0253b85eeed9a79b241884a843 (patch)
tree336091db6867ad575d7f09a165e04cf8154782b1
parente0def7473e52336f58759e11db4cd9467e5e0356 (diff)
parent0326e1c745710ddbb8f1d5e48fdb8eeff18a536a (diff)
Merge pull request #139 from siepkes/smartos-support
Indicate Solaris / Illumos has mmap support
-rw-r--r--absl/base/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/config.h b/absl/base/config.h
index 2f5f1595..6890e313 100644
--- a/absl/base/config.h
+++ b/absl/base/config.h
@@ -268,7 +268,7 @@
#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(__wasm__) || defined(__Fuchsia__) || defined(__sun)
#define ABSL_HAVE_MMAP 1
#endif