I would like to add a UNIX_X11 flags that would be set when the platform is not 
darwin, not cygwin and has X11.

In other words, this would be used after WIN32, __APPLE_XXXX__ tests, to 
distinguish easily the X11 implementation from the others.

I find it particularly handy when a piece of code only deals with X11 and we 
would like to avoid to test all other combinations to finally implement our 
code.

It is currently assumed that the #else preprocessor use in a sequence of #if 
defined(MY_PLATFORM) is UNIX X11 (see original configure.in file case/esac 
tests).

I implemented it in my cairo branch, but still, would be happy to remove it if 
doesn't gain enthusiastic votes :-)

Or if you have other suggestion about naming or other definition related to it, 
I could adapt it adequately.

Thanks,
Fabien

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to