diff --git a/test/unit/datasource/shapeindex.cpp b/test/unit/datasource/shapeindex.cpp index 6cfbf0dc6..6ebd253a0 100644 --- a/test/unit/datasource/shapeindex.cpp +++ b/test/unit/datasource/shapeindex.cpp @@ -75,9 +75,9 @@ int create_shapefile_index(std::string const& filename, bool index_parts, bool s cmd += std::string("DYLD_LIBRARY_PATH=") + std::getenv("DYLD_LIBRARY_PATH") + " "; } cmd += "shapeindex"; - #ifdef _WINDOWS - cmd += ".exe"; - #endif +#ifdef _WINDOWS + cmd += ".exe"; +#endif cmd += " "; if (index_parts) cmd+= "--index-parts "; cmd += filename;