Make real number encoding and decoding work under all locales
[jansson.git] / src / jansson_config.h.win32
index ffb512f..a188f76 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2010 Petri Lehtinen <petri@digip.org>
+ * Copyright (c) 2010-2011 Petri Lehtinen <petri@digip.org>
  *
  * Jansson is free software; you can redistribute it and/or modify
  * it under the terms of the MIT license. See LICENSE for details.
@@ -31,4 +31,8 @@
    JSON_INTEGER_IS_LONG_LONG is defined to 1, otherwise to 0. */
 #define JSON_INTEGER_IS_LONG_LONG 1
 
+/* If locale.h and localeconv() are available, define to 1,
+   otherwise to 0. */
+#define JSON_HAVE_LOCALECONV 1
+
 #endif