cs: repairs for building on Solairs / OpenIndiana

This commit is contained in:
Matthew Flatt 2020-10-11 09:04:21 -06:00
parent 77ece3feb0
commit 5691ade54d
3 changed files with 8 additions and 2 deletions

View File

@ -100,6 +100,8 @@
# define OS_ANY_WINDOWS # define OS_ANY_WINDOWS
# elif __APPLE__ # elif __APPLE__
# define OS_ANY_MACOSX # define OS_ANY_MACOSX
# elif defined(sun)
# define OS_ANY_SOLARIS2
# endif # endif
#endif #endif

View File

@ -4228,6 +4228,8 @@ disable_curses_arg=--disable-curses
case "$host_os" in case "$host_os" in
solaris2*) solaris2*)
MACH_OS=s2 MACH_OS=s2
use_flag_pthread="no"
use_flag_posix_pthread="yes"
;; ;;
aix*) aix*)
;; ;;

View File

@ -189,6 +189,8 @@ disable_curses_arg=--disable-curses
case "$host_os" in case "$host_os" in
solaris2*) solaris2*)
MACH_OS=s2 MACH_OS=s2
use_flag_pthread="no"
use_flag_posix_pthread="yes"
;; ;;
aix*) aix*)
;; ;;