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

@ -97,9 +97,11 @@
# define LITTLE_ENDIAN_IEEE_DOUBLE
# endif
# elif defined(_MSC_VER) || defined(__MINGW32__)
# define OS_ANY_WINDOWS
# define OS_ANY_WINDOWS
# elif __APPLE__
# define OS_ANY_MACOSX
# define OS_ANY_MACOSX
# elif defined(sun)
# define OS_ANY_SOLARIS2
# endif
#endif

View File

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

View File

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