changeset 1222:410c27e04a23

fix visual studio buil
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Nov 2014 09:57:42 +0100
parents 2255e66da726
children 5bd4c9f85b4c
files Core/SQLite/Statement.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Core/SQLite/Statement.cpp	Mon Nov 10 17:05:50 2014 +0100
+++ b/Core/SQLite/Statement.cpp	Tue Nov 11 09:57:42 2014 +0100
@@ -48,6 +48,10 @@
 #include <stdio.h>
 #include <algorithm>
 
+#if defined(_MSC_VER)
+#define snprintf _snprintf
+#endif
+
 namespace Orthanc
 {
   namespace SQLite