From c6fab64db4c205fd8d665d2d242b1a1633e8ea5d Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Sun, 9 Nov 2008 14:15:45 +0000 Subject: [PATCH] 2008-11-09 15:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbstack.h * do not define hb_stack_ptr_from_tls() in BCC builds when HB_STACK_PRELOAD macro is not defined to pacify BCC warning --- harbour/ChangeLog | 5 +++++ harbour/include/hbstack.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 5dbb226982..74b4fb2cf9 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,11 @@ 2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2008-11-09 15:16 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/include/hbstack.h + * do not define hb_stack_ptr_from_tls() in BCC builds when + HB_STACK_PRELOAD macro is not defined to pacify BCC warning + 2008-11-09 14:37 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * make_b32.mak ! /P32 -> /P64 diff --git a/harbour/include/hbstack.h b/harbour/include/hbstack.h index b4eb7d0fb3..f11f1d0805 100644 --- a/harbour/include/hbstack.h +++ b/harbour/include/hbstack.h @@ -196,7 +196,7 @@ typedef struct # endif # else extern HB_TLS_KEY hb_stack_key; -# if defined( __BORLANDC__ ) +# if defined( __BORLANDC__ ) && defined( HB_STACK_PRELOAD ) static __inline void* hb_stack_ptr_from_tls( void ) { /* mov ecx,hb_stack_key */