summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-02-13 13:54:14 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-02-13 13:54:14 +0100
commit5be85a677f8f228614d8e449674c8fe3161b3d71 (patch)
treeed689505010b0a04296af9474a57830cbee14af1 /src
parentaec6b3361b3de8391177261469da6edafd39a080 (diff)
Possible win32 fix for missing locale_t type.
Diffstat (limited to 'src')
-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;