From: martin-s Date: Fri, 22 Feb 2008 13:54:52 +0000 (+0000) Subject: Fix:Tools:Added missing #ifdef X-Git-Tag: navit-0.5.0.5194svn~4246 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55b6af839e12f7b0414e0b8d7ffa883f70e53e87;p=profile%2Fivi%2Fnavit.git Fix:Tools:Added missing #ifdef git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@906 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/src/osm2navit.c b/navit/src/osm2navit.c index 42c5aa0..ffca1e2 100644 --- a/navit/src/osm2navit.c +++ b/navit/src/osm2navit.c @@ -1939,8 +1939,10 @@ process_slice(FILE *ways_in, FILE *nodes_in, int size, int maxnamelen, FILE *out th=tile_head_root; while (th) { if (th->process) { +#ifdef GENERATE_INDEX if (! strlen(th->name)) zipfiles+=write_aux_tiles(out, dir_out, compression_level, maxnamelen); +#endif if (th->total_size != th->total_size_used) { fprintf(stderr,"Size error '%s': %d vs %d\n", th->name, th->total_size, th->total_size_used); exit(1);