summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Bisballe Jensen <larsbisballe@gmail.com>2015-02-13 14:28:17 +0100
committerLars Bisballe Jensen <larsbisballe@gmail.com>2015-02-13 14:28:17 +0100
commit9ae7dd72feb10e64ed85b1bcd1a0effcdaabb223 (patch)
treee9a55089273562cf21c3932e80291ebc869c6685
parent56dea4ff4571de433642ce397c199c021ee94f55 (diff)
parent5be85a677f8f228614d8e449674c8fe3161b3d71 (diff)
Merge branch 'master' of http://git.drumgizmo.org/drumgizmo
-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;