From 5be85a677f8f228614d8e449674c8fe3161b3d71 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 13 Feb 2015 13:54:14 +0100 Subject: Possible win32 fix for missing locale_t type. --- src/nolocale.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nolocale.h b/src/nolocale.h index ac83dda..f8a5303 100644 --- a/src/nolocale.h +++ b/src/nolocale.h @@ -30,6 +30,10 @@ #include #include +#ifdef WIN32 +typedef _locale_t locale_t; +#endif + static inline double atof_nol(const char *nptr) { double res; -- cgit v1.2.3