[Xastir] "Fix" for Cygwin compile problem
Curt, WE7U
archer at eskimo.com
Mon Nov 15 11:42:52 EST 2004
On Mon, 15 Nov 2004, Tom Russo wrote:
> Having the include of db.h inside the ifdef is the correct thing. In fact,
> if I had my druthers I'd have just about everything inside the ifdef
> except for an include of config.h (which, at the moment, is indirectly
> included by snprintf.h well down the line of includes). If one isn't
> using the map_cache code there's no point including all those other
> headers.
You mean a structure like:
#include a
#include b
#include c
#ifdef
code goes here
#endif
Doesn't make much sense when the #ifdef prevents the code from
getting compiled in? Yep, have to agree!
--
Curt, WE7U http://www.eskimo.com/~archer
"Lotto: A tax on people who are bad at math." -- unknown
"Windows: Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me: I picked the coordinate system!"
More information about the Xastir
mailing list