Hi Viktor, this confirm what i'm making after the alert of Massimo. Luckly i've always used the __XHARBOUR__ before the __HARBOUR__ test and the things have worked. Never thought __HARBOUR__ have same behaviour in both compilers. Your arrangement allow to fine tune the source of HwGUI with newer feature more timely. My thanks for your courtesy and collaboration: same question posted to xHarbour group before this thread started never answered... Best regards. Maurizio la Cecilia
> -----Messaggio originale----- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] 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 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 latest Harbour SVN: > > #ifdef __XHARBOUR__ > do xhb stuff, use xhb version defines. > #elif __HARBOUR__ > do Harbour stuff > /* supported method */ > #if __HARBOUR__ > 0x010100 > do some Harbour stuff available in or after version 1.1.0 > #endif > /* unsupported method. not recommended. > (since we might for example change to different repository > system in the future) */ > #if HB_VER_SVNID >= 8830 > do this way > #else > do that way > #endif > #endif > > Brgds, > Viktor > > _______________________________________________ > Harbour mailing list > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour > _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour