From 5d1cd431e0a0871a7a135eb01b677238bac9b6ce Mon Sep 17 00:00:00 2001 From: Ilias Lazaridis Date: Mon, 3 May 2004 01:55:43 +0000 Subject: [PATCH] + definition of macro HB_USE_PRAGMA_STARTUP --- harbour/include/hbinit.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/harbour/include/hbinit.h b/harbour/include/hbinit.h index bce795211a..a9a0a425b3 100644 --- a/harbour/include/hbinit.h +++ b/harbour/include/hbinit.h @@ -61,6 +61,12 @@ extern "C" { extern void HB_EXPORT hb_vmProcessSymbols( PHB_SYMB pSymbols, USHORT uiSymbols ); /* statics symbols initialization */ + +#if ! defined(__GNUC__) && ! defined(_MSC_VER) + #define HB_USE_PRAGMA_STARTUP +#endif + + #if defined(HARBOUR_STRICT_ANSI_C) #define HB_INIT_SYMBOLS_BEGIN( func ) \