[config] constants

This commit is contained in:
Al
2015-07-01 13:01:22 -04:00
parent fa643f7a3a
commit af56c3cd09
2 changed files with 9 additions and 1 deletions

View File

@@ -1,6 +1,11 @@
#ifndef CONFIG_H
#define CONFIG_H
#define LIBPOSTAL_DATA_DIR "../data"
#include "file_utils.h"
#define LIBPOSTAL_DATA_DIR ".." PATH_SEPARATOR "data"
#define LIBPOSTAL_DICTIONARIES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "dictionaries"
#define LIBPOSTAL_GEONAMES_DIR LIBPOSTAL_DATA_DIR PATH_SEPARATOR "geonames"
#endif