[fpc-devel]Detecting current apptype?

Lawrence paradice at free.net.nz
Fri Dec 22 08:49:45 CET 2000


Hello,

	I'm currently writing some general-purpose multi-platform type units, and
all works well except I notice that
	some of it doesn't work with {$apptype gui} defined. This is to be
expected, of course, since some of it is
	text-mode related. I would like to use {$ifdef} statements to exclude
certain functionality when GUI apps
	are being created, but I don't know how. Is there an easy way, like {$ifdef
go32v2} sort of thing??

	TIA.

	Lawrence Alexander Curwood.
	Paradice Software, NZ. http://connect.to/paradice





More information about the fpc-devel mailing list