aboutsummaryrefslogtreecommitdiff
path: root/src/pj_strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pj_strtod.c')
-rw-r--r--src/pj_strtod.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pj_strtod.c b/src/pj_strtod.c
index 9aac07e5..7c2da9a7 100644
--- a/src/pj_strtod.c
+++ b/src/pj_strtod.c
@@ -76,7 +76,13 @@ static char* pj_replace_point_by_locale_point(const char* pszNumber, char point,
char* pszWorkBuffer)
{
#if !defined(HAVE_LOCALECONV) || defined(_WIN32_WCE)
+
+#if defined(_MSC_VER) /* Visual C++ */
+#pragma message("localeconv not available")
+#else
#warning "localeconv not available"
+#endif
+
static char byPoint = 0;
if (byPoint == 0)
{