From 8ff2f88c4ce5ba95f2ee2af807ffdecc65290f4c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 10 Jul 2009 18:28:32 +0000 Subject: [PATCH] 2009-07-10 20:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * source/vm/fm.c ! Fixed bcc C++ build errors by enabling USE_DL_PREFIX in this case. Only this warning remain: Warning W8008 ../../fm.c 386: Condition is always true in function dlmalloc_destroy() --- harbour/ChangeLog | 6 ++++++ harbour/source/vm/fm.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 16869420ab..8209a4ef42 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,12 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-07-10 20:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * source/vm/fm.c + ! Fixed bcc C++ build errors by enabling USE_DL_PREFIX in this case. + Only this warning remain: + Warning W8008 ../../fm.c 386: Condition is always true in function dlmalloc_destroy() + 2009-07-10 20:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbxbp/xbpdev.ch + Added SVN ID. diff --git a/harbour/source/vm/fm.c b/harbour/source/vm/fm.c index e9a5adeba4..af9d788005 100644 --- a/harbour/source/vm/fm.c +++ b/harbour/source/vm/fm.c @@ -148,6 +148,9 @@ # pragma warn -ngu # pragma warn -prc # pragma warn -rch +# if defined( __cplusplus ) && ! defined( USE_DL_PREFIX ) +# define USE_DL_PREFIX +# endif # elif defined( HB_OS_WIN_CE ) && defined( __POCC__ ) # define ABORT TerminateProcess( GetCurrentProcess(), 0 ) # elif defined( __POCC__ ) && !defined( InterlockedCompareExchangePointer )