2008-05-30 09:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* contrib/hbapollo/apollo.c
     ! Added __BORLAND__ specific hack to suppress numerous 
       non-ANSI warnings in foreign header.
       (#define _declspec __declspec)

   * contrib/hbapollo/apollo1.prg
     + File ending CRLF.

   * contrib/hbgd/gdwrp.c
     ! Fixed to explicitly include <windows.h> for __BORLANDC__ 
       only. The reason for this hack is still unknwown, if 
       anyone could help to investigate this, it would be great.
This commit is contained in:
Viktor Szakats
2008-05-30 07:35:54 +00:00
parent 76b3f96d1d
commit 79072d5798
4 changed files with 26 additions and 4 deletions

View File

@@ -8,6 +8,20 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-05-30 09:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbapollo/apollo.c
! Added __BORLAND__ specific hack to suppress numerous
non-ANSI warnings in foreign header.
(#define _declspec __declspec)
* contrib/hbapollo/apollo1.prg
+ File ending CRLF.
* contrib/hbgd/gdwrp.c
! Fixed to explicitly include <windows.h> for __BORLANDC__
only. The reason for this hack is still unknwown, if
anyone could help to investigate this, it would be great.
2008-05-30 03:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/hbgtcore.c
* removed unnecessary variable

View File

@@ -51,10 +51,17 @@
*/
/* -----------------29/12/2001 19:23-----------------
* NOTE: Functions are liste alfabeticly
* NOTE: Functions are listed alfabetically
* --------------------------------------------------*/
/* NOTE: This hack is needed to suppress 'non-ANSI
keyword' warnings inside sde61.h. */
#if defined( __BORLANDC__ )
#define _declspec __declspec
#endif
#define HB_OS_WIN_32_USED
#define MAX_STR_LEN 255
#include "hbapi.h"

View File

@@ -79,4 +79,4 @@ RETURN Val( sx_Getvariant( x ) )
/*
sx_GetVal()
*/
*/

View File

@@ -52,8 +52,9 @@
#define HB_OS_WIN_32_USED
/* NOTE: We need this to generate proper extern references. */
#if defined(HB_OS_WIN_32_USED)
/* NOTE: This seems needed to generate proper extern references for BCC.
Reasons unknown so far [vszakats]. */
#if defined( HB_OS_WIN_32_USED ) && defined( __BORLANDC__ )
#include <windows.h>
#endif