1 #ifndef OSMIUM_UTIL_CONFIG_HPP
2 #define OSMIUM_UTIL_CONFIG_HPP
40 # define strcasecmp _stricmp
48 const char* env = getenv(
"OSMIUM_POOL_THREADS");
50 return std::atoi(env);
56 const char* env = getenv(
"OSMIUM_USE_POOL_THREADS_FOR_PBF_PARSING");
58 if (!strcasecmp(env,
"off") ||
59 !strcasecmp(env,
"false") ||
60 !strcasecmp(env,
"no") ||
61 !strcasecmp(env,
"0")) {
72 #endif // OSMIUM_UTIL_CONFIG_HPP
bool use_pool_threads_for_pbf_parsing()
Definition: config.hpp:55
Namespace for everything in the Osmium library.
Definition: assembler.hpp:66
int get_pool_threads()
Definition: config.hpp:47