changeset 1226:3f62e1269cca

fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Nov 2014 11:15:34 +0100
parents 4c649dbeb61a
children 7266c37d0354
files Core/SQLite/Statement.cpp Core/SQLite/StatementReference.cpp
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Core/SQLite/Statement.cpp	Wed Nov 19 11:10:27 2014 +0100
+++ b/Core/SQLite/Statement.cpp	Wed Nov 19 11:15:34 2014 +0100
@@ -37,7 +37,6 @@
 
 #if ORTHANC_SQLITE_STANDALONE != 1
 #include "../PrecompiledHeaders.h"
-#include <glog/logging.h>
 #endif
 
 #include "Statement.h"
@@ -48,6 +47,10 @@
 #include <stdio.h>
 #include <algorithm>
 
+#if ORTHANC_SQLITE_STANDALONE != 1
+#include <glog/logging.h>
+#endif
+
 #if defined(_MSC_VER)
 #define snprintf _snprintf
 #endif
--- a/Core/SQLite/StatementReference.cpp	Wed Nov 19 11:10:27 2014 +0100
+++ b/Core/SQLite/StatementReference.cpp	Wed Nov 19 11:15:34 2014 +0100
@@ -37,12 +37,15 @@
 
 #if ORTHANC_SQLITE_STANDALONE != 1
 #include "../PrecompiledHeaders.h"
-#include <glog/logging.h>
 #endif
 
 #include "StatementReference.h"
 #include "OrthancSQLiteException.h"
 
+#if ORTHANC_SQLITE_STANDALONE != 1
+#include <glog/logging.h>
+#endif
+
 #include <cassert>
 #include "sqlite3.h"