008 22.08
A: 'Harbour Project Main Developer List.' <[EMAIL PROTECTED]
project.org>
Oggetto: R: [Harbour] Define for version recognition
Thanks Massimo.
Luckly i've always used the __XHARBOUR__ before the __HARBOUR__
test (or
only it) and the things have worked.
Nev
roject Main Developer List.'
Oggetto: R: [Harbour] Define for version recognition
Thanks Massimo.
Luckly i've always used the __XHARBOUR__ before the __HARBOUR__ test (or
only it) and the things have worked.
Never thought __HARBOUR__ have same behaviour in both compilers... Now i
sta
ROTECTED] Per conto di
> Szakáts Viktor
> Inviato: venerdì 27 giugno 2008 19.25
> A: Harbour Project Main Developer List.
> Oggetto: Re: R: [Harbour] Define for version recognition
>
> > #ifdef __HARBOUR__
> > #ifdef __HARBOUR_SVN__
> > Code with new feautured f
return true in Harbour and xharbour!
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Maurizio la Cecilia
> Sent: Friday, June 27, 2008 11:23 AM
> To: 'Harbour Project Main Developer List.'
> Subject: R: [Harbour] Defin
#ifdef __HARBOUR__
#ifdef __HARBOUR_SVN__
Code with new feautured funcs
#else
Code with old fashioned funcs
#endif
#endif
#ifdef __XHARBOUR__
#ifdef __XHARBOUR_CVS__
Code with new feautured funcs
#else
Code with old fashioned funcs
#endif
#endif
With lat
I've changed Harbour to support __HARBOUR__ with
the same value in .c and .prg code.
[ You can hack this around by including hbverbld.h to
your .prg/.c files. But this is not a recommended way
of doing it, and may change in the future without
notice. ]
Minor correction, you only need to explic
Hi Maurizio,
I was suggesting these for app/lib compile time.
Even for that there is the C level and the .prg
level, and they are different.
On .prg level __HARBOUR__ returns 256, which
means 0x0100, like 1.00.
On .c level you can use HB_VERSION after #including
"hbver.h".
You cannot access SV
Hi Viktor, to be clearer i'm searching something allowing a code as:
#ifdef __HARBOUR__
#ifdef __HARBOUR_SVN__
Code with new feautured funcs
#else
Code with old fashioned funcs
#endif
#endif
#ifdef __XHARBOUR__
#ifdef __XHARBOUR_CVS__
Code with new feautured funcs
#e