From 2b5b97942016c2f18a0992b934d1b6b460391dac Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 7 Jul 2015 18:46:36 +0200 Subject: Make pj_init() locale safe and no longer modify locale (#226) Remove setlocale() use in pj_init_ctx(), and replace uses of atof() & strtod() by their locale safe variants pj_atof() and pj_strtod(). Proj versions from now advertize #define PJ_LOCALE_SAFE 1 in proj_api.h and export pj_atof() & pj_strtod() --- cmake/proj_config.cmake.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cmake/proj_config.cmake.in') diff --git a/cmake/proj_config.cmake.in b/cmake/proj_config.cmake.in index 8f782a7c..bbdf3249 100644 --- a/cmake/proj_config.cmake.in +++ b/cmake/proj_config.cmake.in @@ -10,6 +10,9 @@ /* Define to 1 if you have the `m' library (-lm). */ #cmakedefine HAVE_LIBM 1 +/* Define to 1 if you have localeconv */ +#cmakedefine HAVE_LOCALECONV 1 + /* Define to 1 if you have the header file. */ #cmakedefine HAVE_MEMORY_H 1 -- cgit v1.2.3