Paul Cercueil / libiio

Dependencies:   libserialport libxml2

Revision:
4:ad69b39bf124
Parent:
3:d147beabba0e
--- a/utilities.c	Mon Jan 30 13:00:39 2017 +0000
+++ b/utilities.c	Mon Jun 26 14:30:10 2017 +0000
@@ -34,7 +34,7 @@
 #endif
 
 #ifdef LOCALE_SUPPORT
-#if defined(__MINGW32__)
+#if defined(__MINGW32__) || (!defined(_WIN32) && !defined(HAS_NEWLOCALE))
 static int read_double_locale(const char *str, double *val)
 {
 	char *end, *old_locale;