mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
16 lines
255 B
C++
16 lines
255 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
|