On Thu, 10 Sep 2015, Steve Hildebrandt wrote:
Am 10.09.2015 um 12:10 schrieb Alfred:
1:
I need to know before compiling the source if interface RTTI is available.
I would like to use a switch in the source:
{$ifdef HASNEWINTERFACERTTI}
....
{$endif}
Will see what I can do in that direction.
Usually, this is done with FPC_HAS_XXXYYY. If you look in the RTL, you will see
lots of such ifdefs.
So FPC_HAS_EXTENDEDINTERFACERTTI seems appropriate.
Michael.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel