changed HB_USE_PRAGMA_STARTUP to HB_PRAGMA_STARTUP, to keep similarity with xharbour (was already defined in xharbour).

This commit is contained in:
Ilias Lazaridis
2004-05-06 00:51:05 +00:00
parent 3615adeae6
commit eb005f0076
2 changed files with 7 additions and 2 deletions

View File

@@ -173,6 +173,10 @@ extern void HB_EXPORT hb_vmProcessSymbols( PHB_SYMB pSymbols, USHORT uiSymbols )
#endif
#if ! defined(__GNUC__) && ! defined(_MSC_VER)
#define HB_PRAGMA_STARTUP
#endif
#if defined(HB_EXTERN_C)
}
#endif

View File

@@ -32,8 +32,9 @@
#define ACCENTED_INTERLEAVED 0
//-----------------------------------------------------------------------------
// Documentation: see cdp_tpl.c
static HB_CODEPAGE s_codepage =
static HB_CODEPAGE s_codepage =
{
"ES",
NUMBER_OF_CHARACTERS,
@@ -55,7 +56,7 @@ static HB_CODEPAGE s_codepage =
HB_CODEPAGE_INIT( ES );
#ifdef HB_USE_PRAGMA_STARTUP
#ifdef HB_PRAGMA_STARTUP
#pragma startup hb_codepage_Init_ES
#endif