about summary refs log tree commit diff
path: root/absl
diff options
context:
space:
mode:
authorahedberg <ahedberg@google.com>2018-07-18T17·06-0400
committerGitHub <noreply@github.com>2018-07-18T17·06-0400
commitb973bc53ef366f0253b85eeed9a79b241884a843 (patch)
tree336091db6867ad575d7f09a165e04cf8154782b1 /absl
parente0def7473e52336f58759e11db4cd9467e5e0356 (diff)
parent0326e1c745710ddbb8f1d5e48fdb8eeff18a536a (diff)
Merge pull request #139 from siepkes/smartos-support
Indicate Solaris / Illumos has mmap support
Diffstat (limited to 'absl')
-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