diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 63800000a2..978603ad74 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-01-16 12:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbct/files.c + - Deleted no longer necessary OS/2 and Windows specific headers. + + * contrib/hbct/print.c + ! Fixed PRINTSEND() to return permanent zero (instead of NIL) + on non-win/djgpp targets. + 2010-01-16 12:01 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbct/ctnet.c * contrib/hbct/disk.c diff --git a/harbour/contrib/hbct/files.c b/harbour/contrib/hbct/files.c index dcadeefac8..e4cb44ceb2 100644 --- a/harbour/contrib/hbct/files.c +++ b/harbour/contrib/hbct/files.c @@ -61,14 +61,6 @@ * */ -/* OS2 */ -#define INCL_DOSFILEMGR /* File Manager values */ -#define INCL_DOSERRORS /* DOS error values */ -#define INCL_DOSDATETIME /* DATETIME functions */ - -/* Windows */ -#define HB_OS_WIN_USED - #include "hbapi.h" #include "hbapifs.h" #include "hbapiitm.h" @@ -84,14 +76,12 @@ # include # include #endif + #if defined( HB_OS_UNIX ) || defined( __DJGPP__ ) # include # include # include # include -#elif defined( HB_OS_OS2 ) -# include -# include #endif diff --git a/harbour/contrib/hbct/print.c b/harbour/contrib/hbct/print.c index 041b5ee60c..dc83de484a 100644 --- a/harbour/contrib/hbct/print.c +++ b/harbour/contrib/hbct/print.c @@ -232,5 +232,9 @@ HB_FUNC( PRINTSEND ) } hb_retni( usRet ); +#else + + hb_retni( 0 ); + #endif }