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:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -79,4 +79,4 @@ RETURN Val( sx_Getvariant( x ) )
|
||||
/*
|
||||
sx_GetVal()
|
||||
|
||||
*/
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user