diff options
| -rw-r--r-- | src/pj_init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pj_init.c b/src/pj_init.c index fef2b5ff..fcd57bb8 100644 --- a/src/pj_init.c +++ b/src/pj_init.c @@ -390,6 +390,11 @@ pj_init_ctx(projCtx ctx, int argc, char **argv) { ctx->last_errno = 0; start = NULL; + /* + ** MS Visual Studio 2012+ may have problems in multithreaded cases + ** as discussed in this ticket: + ** http://trac.osgeo.org/proj/ticket/226 + */ old_locale = setlocale(LC_NUMERIC, NULL); if (old_locale != NULL) { if (strcmp(old_locale,"C") != 0) { |
