Add support for Solaris / Illumos.

This commit is contained in:
Jasper Siepkes 2018-07-05 14:35:18 +02:00
parent 92020a042c
commit 0326e1c745
No known key found for this signature in database
GPG key ID: 26561247092EC4D2

View file

@ -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