aboutsummaryrefslogtreecommitdiff
path: root/fpconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'fpconv.c')
-rw-r--r--fpconv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fpconv.c b/fpconv.c
index 854662c..3e480ec 100644
--- a/fpconv.c
+++ b/fpconv.c
@@ -35,6 +35,12 @@
35 35
36#include "fpconv.h" 36#include "fpconv.h"
37 37
38/* Workaround for MSVC */
39#ifdef _MSC_VER
40#define inline __inline
41#define snprintf sprintf_s
42#endif
43
38/* Lua CJSON assumes the locale is the same for all threads within a 44/* Lua CJSON assumes the locale is the same for all threads within a
39 * process and doesn't change after initialisation. 45 * process and doesn't change after initialisation.
40 * 46 *