diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 6f6e752c9b..d5742faf74 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,14 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-02-03 00:55 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) + * include/hbdefs.h + * include/hbthread.h + * added HB_OS_SUNOS to be able to build under OpenSolaris 2008.11 + using pthreads. + * source/common/hbprintf.c + * include ieeefp.h under OpenSolaris 2008.11 + 2009-02-02 23:25 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbct/keysec.prg * contrib/hbct/keytime.prg diff --git a/harbour/include/hbdefs.h b/harbour/include/hbdefs.h index dbf860da59..d349b7b5da 100644 --- a/harbour/include/hbdefs.h +++ b/harbour/include/hbdefs.h @@ -72,7 +72,7 @@ ( defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L ) || \ ( defined( __DJGPP__ ) && \ ( __DJGPP__ > 2 || ( __DJGPP__ == 2 && __DJGPP_MINOR__ >= 4 ) ) ) || \ - defined( HB_OS_LINUX ) || defined( HB_OS_DARWIN ) ) ) + defined( HB_OS_LINUX ) || defined( HB_OS_DARWIN ) || defined( HB_OS_SUNOS ) ) ) #include /* workaround for BCC 5.8 bug */ #if ( defined( __BORLANDC__ ) && __BORLANDC__ >= 1410 ) diff --git a/harbour/include/hbthread.h b/harbour/include/hbthread.h index 34edb9d271..4428a7a3c3 100644 --- a/harbour/include/hbthread.h +++ b/harbour/include/hbthread.h @@ -57,7 +57,7 @@ #include "hbset.h" #if ( defined( HB_OS_LINUX ) && !defined( __WATCOMC__ ) ) || \ - defined( HB_OS_DARWIN ) + defined( HB_OS_DARWIN ) || defined( HB_OS_SUNOS ) # include # define HB_PTHREAD_API #elif defined( HB_OS_WIN_32 ) diff --git a/harbour/source/common/hbprintf.c b/harbour/source/common/hbprintf.c index 463c68cce9..234e67002d 100644 --- a/harbour/source/common/hbprintf.c +++ b/harbour/source/common/hbprintf.c @@ -106,6 +106,8 @@ optimized. # include #elif defined(__DJGPP__) _LIB_VERSION_TYPE _LIB_VERSION = _XOPEN_; +#elif defined( HB_OS_SUNOS ) +# include // for finite() #endif HB_EXTERN_BEGIN