2010-11-24 18:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/fstemp.c
* enabled mkstemp() usage in *nix OpenWatcom 1.8 and newer builds
* harbour/src/rtl/hbsocket.c
* disabled getpeername() and shutdown() usage in OpenWatcom *nix
builds only for OpenWatcom <= 1.9
* harbour/src/rtl/diskspac.c
* minor formatting
* harbour/src/rtl/hbproces.c
* enabled sysconf() hack only for OpenWatcom <= 1.9
* harbour/src/rtl/hbcom.c
* disabled OpenWatcom *nix builds only for OpenWatcom <= 1.9
; it's possible that above modifications will cause error if problems
are not fixed in newer OpenWatcom releases but in such case we can
simply change to OW number in #if condition.
This commit is contained in:
@@ -16,6 +16,27 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-11-24 18:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/rtl/fstemp.c
|
||||
* enabled mkstemp() usage in *nix OpenWatcom 1.8 and newer builds
|
||||
|
||||
* harbour/src/rtl/hbsocket.c
|
||||
* disabled getpeername() and shutdown() usage in OpenWatcom *nix
|
||||
builds only for OpenWatcom <= 1.9
|
||||
|
||||
* harbour/src/rtl/diskspac.c
|
||||
* minor formatting
|
||||
|
||||
* harbour/src/rtl/hbproces.c
|
||||
* enabled sysconf() hack only for OpenWatcom <= 1.9
|
||||
|
||||
* harbour/src/rtl/hbcom.c
|
||||
* disabled OpenWatcom *nix builds only for OpenWatcom <= 1.9
|
||||
|
||||
; it's possible that above modifications will cause error if problems
|
||||
are not fixed in newer OpenWatcom releases but in such case we can
|
||||
simply change to OW number in #if condition.
|
||||
|
||||
2010-11-24 17:17 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/sddoci/sddoci.c
|
||||
! Fix regression in 2010-10-13 19:33 UTC+0200.
|
||||
|
||||
@@ -61,7 +61,8 @@
|
||||
#if defined( HB_OS_UNIX )
|
||||
# include <unistd.h>
|
||||
# include <sys/types.h>
|
||||
# if defined( __WATCOMC__ ) || defined( __CEGCC__ ) || defined( HB_OS_VXWORKS ) || defined( HB_OS_SYMBIAN )
|
||||
# if defined( __WATCOMC__ ) || defined( __CEGCC__ ) || \
|
||||
defined( HB_OS_VXWORKS ) || defined( HB_OS_SYMBIAN )
|
||||
# include <sys/stat.h>
|
||||
# elif defined( HB_OS_DARWIN )
|
||||
# include <sys/param.h>
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#if ( defined( HB_OS_LINUX ) && !defined( __WATCOMC__ ) ) || \
|
||||
#if ( defined( HB_OS_LINUX ) && ( !defined( __WATCOMC__ ) || __WATCOMC__ >= 1280 ) ) || \
|
||||
defined( HB_OS_BSD ) || defined( HB_OS_DARWIN ) || defined( HB_OS_SUNOS )
|
||||
#define HB_HAS_MKSTEMP
|
||||
#if ( defined( HB_OS_BSD ) && !defined( __NetBSD__ ) ) || \
|
||||
|
||||
@@ -62,7 +62,8 @@
|
||||
#include "hbinit.h"
|
||||
#include "hbdate.h"
|
||||
|
||||
#if defined( HB_OS_UNIX ) && !defined( __WATCOMC__ ) && !defined( HB_OS_SYMBIAN ) /* || defined( __DJGPP__ ) */
|
||||
#if defined( HB_OS_UNIX ) && ( !defined( __WATCOMC__ ) || __WATCOMC__ > 1290 ) && \
|
||||
!defined( HB_OS_SYMBIAN ) /* || defined( __DJGPP__ ) */
|
||||
# if defined( HB_OS_VXWORKS )
|
||||
# if !defined( HB_HAS_SIOLIB )
|
||||
# define HB_HAS_SIOLIB
|
||||
|
||||
@@ -1282,7 +1282,8 @@ int hb_fsProcessRun( const char * pszFilename,
|
||||
}
|
||||
|
||||
/* temporary hack for still missing sysconf() in Watcom 1.8 */
|
||||
#if defined( HB_OS_LINUX ) && defined( __WATCOMC__ )
|
||||
#if defined( HB_OS_LINUX ) && defined( __WATCOMC__ ) && \
|
||||
__WATCOMC__ <= 1290
|
||||
_WCRTLINK long sysconf( int __name )
|
||||
{
|
||||
int iTODO;
|
||||
|
||||
@@ -1978,7 +1978,7 @@ int hb_socketGetSockName( HB_SOCKET sd, void ** pSockAddr, unsigned * puiLen )
|
||||
int hb_socketGetPeerName( HB_SOCKET sd, void ** pSockAddr, unsigned * puiLen )
|
||||
{
|
||||
int ret;
|
||||
#if defined( __WATCOMC__ ) && defined( HB_OS_LINUX )
|
||||
#if defined( HB_OS_LINUX ) && defined( __WATCOMC__ ) && ( __WATCOMC__ <= 1290 )
|
||||
/* it's still not supported by Linux OpenWatcom port :-( */
|
||||
ret = -1;
|
||||
hb_socketSetRawError( HB_SOCKET_ERR_NOSUPPORT );
|
||||
@@ -2093,7 +2093,7 @@ int hb_socketShutdown( HB_SOCKET sd, int iMode )
|
||||
return -1;
|
||||
}
|
||||
|
||||
#if defined( __WATCOMC__ ) && defined( HB_OS_LINUX )
|
||||
#if defined( HB_OS_LINUX ) && defined( __WATCOMC__ ) && ( __WATCOMC__ <= 1290 )
|
||||
{
|
||||
int iTODO;
|
||||
/* it's still not supported by Linux OpenWatcom port :-( */
|
||||
|
||||
Reference in New Issue
Block a user