osrm-backend/third_party/libosmium/test/include/test_crc.hpp

19 lines
363 B
C++
Raw Permalink Normal View History

2020-11-17 16:59:06 -05:00
#ifndef OSMIUM_TEST_CRC_HPP
#define OSMIUM_TEST_CRC_HPP
#ifdef OSMIUM_TEST_CRC_USE_BOOST
/* Use the CRC32 implementation from boost. */
#include <boost/crc.hpp>
using crc_type = boost::crc_32_type;
#else
/* Use the CRC32 implementation from zlib. */
#include <osmium/osm/crc_zlib.hpp>
using crc_type = osmium::CRC_zlib;
#endif
#endif // OSMIUM_TEST_CRC_HPP