Port: Add Solaris support to mman compat
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 14 Oct 2015 20:05:38 +0000 (16:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 19 Oct 2015 04:14:08 +0000 (00:14 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/mman.h

index af7e1fd0f4a1384d9e6bc97d4e07264bf623fccc..c8d872ee485e7c2926cae2300d7c2f4ca27b6103 100644 (file)
 #define MAP_GROWSDOWN 0
 #define MAP_ANONYMOUS MAP_ANON
 
-#elif defined(__CYGWIN__)
+#elif defined(__CYGWIN__) || defined(__sun__)
 
 #define MAP_GROWSDOWN 0
 
 #else
 #error "Please add support for your OS."
-#endif /* __linux__ , __FreeBSD__ */
+#endif /* __linux__ */
 
 #endif /* _COMPAT_MMAN_H */
This page took 0.025372 seconds and 4 git commands to generate.