summaryrefslogtreecommitdiff
path: root/src/nolocale.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nolocale.h')
-rw-r--r--src/nolocale.h4
1 files changed, 4 insertions, 0 deletions
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 <locale.h>
#include <stdarg.h>
+#ifdef WIN32
+typedef _locale_t locale_t;
+#endif
+
static inline double atof_nol(const char *nptr)
{
double res;