[config] config.h=>libpostal_config.h so as not to conflict with autoconf
This commit is contained in:
17
src/libpostal_config.h
Normal file
17
src/libpostal_config.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef LIBPOSTAL_PATHS_H
|
||||
#define LIBPOSTAL_PATHS_H
|
||||
|
||||
#include "file_utils.h"
|
||||
|
||||
#ifndef LIBPOSTAL_DATA_DIR
|
||||
#error LIBPOSTAL_DATA_DIR not defined!
|
||||
#endif
|
||||
|
||||
#define LIBPOSTAL_DICTIONARIES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "dictionaries"
|
||||
#define LIBPOSTAL_GEONAMES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geonames"
|
||||
#define LIBPOSTAL_GEODB_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geodb"
|
||||
|
||||
#define GEODB_BLOOM_FILTER_SIZE 100000000
|
||||
#define GEODB_BLOOM_FILTER_ERROR 0.001
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user