>> Is not possible somethink like?
>> #ifdef __XHARBOUR__ .OR. ifdef __HARBOUR__ ?
>
> #IFDEF __HARBOUR__>
>
>is accepted by both compilers.
>
> #IFDEF __XHARBOUR__
>
>is accpeted only by xHarbour.
>
>Both compilers support C like #IF / #ELIF / #ELSE / #ENDIF directive so
you can use:
>
> #IF defined( __HARBOUR__ ) .AND. !defined( __XHARBOUR__ )
> ...
> #ENDIF>
>
>best regards,
>Przemek
Very thanks for your clarification
If I want a code executed only in harbour I can use
#IF defined( __HARBOUR__ ) .AND. !defined( __XHARBOUR__ )
...
#ENDIF
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour