summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jasper Siepkes <siepkes@serviceplanet.nl>2018-07-05 14:35:18 +0200
committerGravatar Jasper Siepkes <siepkes@serviceplanet.nl>2018-07-05 14:35:18 +0200
commit0326e1c745710ddbb8f1d5e48fdb8eeff18a536a (patch)
treeee618c6ad3b7ed91e7b91fa6ac4dcfc1c94435dc
parent92020a042c0cd46979db9f6f0cb32783dc07765e (diff)
Add support for Solaris / Illumos.
-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