mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-03 00:45:41 +02:00
18 lines
256 B
C++
18 lines
256 B
C++
#ifndef PLATFORM_HPP
|
|
#define PLATFORM_HPP
|
|
|
|
#include <cstddef>
|
|
|
|
long get_num_avail_cpus();
|
|
|
|
long get_page_size();
|
|
|
|
size_t calc_memsize();
|
|
|
|
size_t get_max_open_files();
|
|
|
|
constexpr const char *get_null_device() {
|
|
return "/dev/null";
|
|
}
|
|
|
|
#endif // PLATFORM_HPP
|