It can be quite easy resolved for both C .prg preprocesors.
For C code instead of:
#if defined( __HARBOUR__ ) && __HARBOUR__ > 0x010100
simply use:
#if defined( __HARBOUR__ ) && __HARBOUR__ - 0 > 0x010100
and for .prg code instead of:
#if defined( __HARBOUR__ ) .and. __HARBOUR__ > 0x010100
use:
#if defined( __HARBOUR__ ) .and. __HARBOUR__ - 0 > 0x010100
Great, thank you for a tip. I never knew about such trick.
I think that such auto detection is better and much safer then manual
setting by user.
Indeed.
Regards, Alexander.
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour