#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