summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-02-13 15:07:25 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-02-13 15:07:25 +0100
commit92abe7381596a5baaf62eec3e55172678ed1f1dd (patch)
tree6324a10f4bcae8adf7b18c022bf3cf79f1f5bab5 /src
parent5769c97b48fcfc2b6d8f44d35cf952c18268edba (diff)
Possible win32 fix for missing locale_t type - part3.
Diffstat (limited to 'src')
-rw-r--r--src/nolocale.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nolocale.h b/src/nolocale.h
index 1b71ef2..3d8d50d 100644
--- a/src/nolocale.h
+++ b/src/nolocale.h
@@ -36,7 +36,7 @@ static inline double atof_nol(const char *nptr)
#ifdef WIN32
- _locale_t l = _create_locale(LC_NUMERIC_MASK, "C");
+ _locale_t l = _create_locale(LC_NUMERIC, "C");
res = _atof_l(nptr, l);
@@ -65,7 +65,7 @@ static inline int sprintf_nol(char *str, const char *format, ...)
#ifdef WIN32
- _locale_t l = _create_locale(LC_NUMERIC_MASK, "C");
+ _locale_t l = _create_locale(LC_NUMERIC, "C");
va_list vl;
va_start(vl, format);
@@ -100,7 +100,7 @@ static inline int snprintf_nol(char *str, size_t size, const char *format, ...)
#ifdef WIN32
- _locale_t l = _create_locale(LC_NUMERIC_MASK, "C");
+ _locale_t l = _create_locale(LC_NUMERIC, "C");
va_list vl;
va_start(vl, format);