From e71ae752200b9fe93d437f506b79ca008c64f922 Mon Sep 17 00:00:00 2001 From: Teo Fonrouge Date: Sun, 8 Nov 2009 15:29:20 +0000 Subject: [PATCH] 2009-11-08 09:28 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * include/hbdefs.h ! Fixed compiling of .cpp sources in BCC55 by removing prefix declaration HB_EXTERN_C_ from "typedef HARBOUR" and "typedef PHB_FUNC" declarations --- harbour/ChangeLog | 5 +++++ harbour/include/hbdefs.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1b8123eb83..a5bdd45573 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -2,6 +2,11 @@ * $Id$ */ +2009-11-08 09:28 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) + * include/hbdefs.h + ! Fixed compiling of .cpp sources in BCC55 by removing prefix declaration + HB_EXTERN_C_ from "typedef HARBOUR" and "typedef PHB_FUNC" declarations + /* Use this format for entry headers: YYYY-MM-DD HH:MM UTC[-|+]hhmm Your Full Name (your_email address) 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) diff --git a/harbour/include/hbdefs.h b/harbour/include/hbdefs.h index 0931a38d80..f3211ffb79 100644 --- a/harbour/include/hbdefs.h +++ b/harbour/include/hbdefs.h @@ -1609,8 +1609,8 @@ typedef unsigned char HB_U8; #define HARBOUR void #endif -HB_EXTERN_C_ typedef HARBOUR ( * PHB_FUNC )( void ); -HB_EXTERN_C_ typedef PHB_FUNC HB_FUNC_PTR; +typedef HARBOUR ( * PHB_FUNC )( void ); +typedef PHB_FUNC HB_FUNC_PTR; typedef SHORT HB_SYMBOLSCOPE; /* stores symbol's scope */