fix miniz visibility with -fvisibility=hidden
This commit is contained in:
parent
2bab0512ff
commit
d4f11bd80e
1 changed files with 8 additions and 11 deletions
|
@ -32,9 +32,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#include <mapnik/image_data.hpp>
|
||||||
#include <mapnik/graphics.hpp>
|
#include <mapnik/image_view.hpp>
|
||||||
#endif
|
|
||||||
|
|
||||||
/* miniz.c porting issues:
|
/* miniz.c porting issues:
|
||||||
- duplicate symbols in python bindings require moving miniz.c include to just cpp file
|
- duplicate symbols in python bindings require moving miniz.c include to just cpp file
|
||||||
|
@ -84,14 +83,12 @@ private:
|
||||||
static const unsigned char IEND_tpl[];
|
static const unsigned char IEND_tpl[];
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
extern template MAPNIK_DECL void PNGWriter::writeIDAT<image_data_8>(image_data_8 const& image);
|
||||||
template MAPNIK_DECL void PNGWriter::writeIDAT<image_data_8>(image_data_8 const& image);
|
extern template MAPNIK_DECL void PNGWriter::writeIDAT<image_view<image_data_8> >(image_view<image_data_8> const& image);
|
||||||
template MAPNIK_DECL void PNGWriter::writeIDAT<image_view<image_data_8> >(image_view<image_data_8> const& image);
|
extern template MAPNIK_DECL void PNGWriter::writeIDAT<image_data_32>(image_data_32 const& image);
|
||||||
template MAPNIK_DECL void PNGWriter::writeIDAT<image_data_32>(image_data_32 const& image);
|
extern template MAPNIK_DECL void PNGWriter::writeIDAT<image_view<image_data_32> >(image_view<image_data_32> const& image);
|
||||||
template MAPNIK_DECL void PNGWriter::writeIDAT<image_view<image_data_32> >(image_view<image_data_32> const& image);
|
extern template MAPNIK_DECL void PNGWriter::writeIDATStripAlpha<image_data_32>(image_data_32 const& image);
|
||||||
template MAPNIK_DECL void PNGWriter::writeIDATStripAlpha<image_data_32>(image_data_32 const& image);
|
extern template MAPNIK_DECL void PNGWriter::writeIDATStripAlpha<image_view<image_data_32> >(image_view<image_data_32> const& image);
|
||||||
template MAPNIK_DECL void PNGWriter::writeIDATStripAlpha<image_view<image_data_32> >(image_view<image_data_32> const& image);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue