File: test_crc.hpp

package info (click to toggle)
libosmium 2.23.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,564 kB
  • sloc: cpp: 53,570; sh: 148; makefile: 19
file content (18 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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