From b812d90c599f5106ea9458cc796afd8697daa5e3 Mon Sep 17 00:00:00 2001 From: Al Date: Mon, 27 Jul 2015 12:36:06 -0400 Subject: [PATCH] [fix] specifying numex dir with cross-platform PATH_SEPARATOR --- src/numex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/numex.h b/src/numex.h index 2dc0ea25..7c2cebbb 100644 --- a/src/numex.h +++ b/src/numex.h @@ -21,7 +21,7 @@ extern "C" { #include "trie.h" #include "trie_search.h" -#define DEFAULT_NUMEX_PATH LIBPOSTAL_DATA_DIR "/numex/numex.dat" +#define DEFAULT_NUMEX_PATH LIBPOSTAL_DATA_DIR PATH_SEPARATOR "numex" PATH_SEPARATOR "numex.dat" #define GENDER_MASCULINE_PREFIX "m" #define GENDER_FEMININE_PREFIX "f" @@ -152,4 +152,4 @@ void numex_module_teardown(void); } #endif -#endif \ No newline at end of file +#endif