* Melchior FRANZ -- Tuesday 27 April 2004 20:32: > +#if defined(WIN32) > +static bool win32 = true; > +#else > +static bool win32 = false; > +#endif
That should be const static bool win32 ... ^^^^^ of course. The #if could be moved down to the if, but it looks cleaner this way, and I assumed that the compiler optimizes it away if possible, anyway. m. _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel