about summary refs log tree commit diff
path: root/absl/base/config.h
diff options
context:
space:
mode:
authorJasper Siepkes <siepkes@serviceplanet.nl>2018-07-05T12·35+0200
committerJasper Siepkes <siepkes@serviceplanet.nl>2018-07-05T12·35+0200
commit0326e1c745710ddbb8f1d5e48fdb8eeff18a536a (patch)
treeee618c6ad3b7ed91e7b91fa6ac4dcfc1c94435dc /absl/base/config.h
parent92020a042c0cd46979db9f6f0cb32783dc07765e (diff)
Add support for Solaris / Illumos.
Diffstat (limited to 'absl/base/config.h')
-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 2f5f15951fb6..6890e313bf27 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