diff Core/SQLite/OrthancSQLiteException.h @ 2380:96b3ec054b69

reorganization in macros
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Aug 2017 16:49:44 +0200
parents b1291df2f780
children fa5ad4368fe3
line wrap: on
line diff
--- a/Core/SQLite/OrthancSQLiteException.h	Mon Aug 28 18:07:03 2017 +0200
+++ b/Core/SQLite/OrthancSQLiteException.h	Tue Aug 29 16:49:44 2017 +0200
@@ -38,6 +38,11 @@
 #pragma once
 
 
+#if ORTHANC_ENABLE_SQLITE != 1
+#  error Macro ORTHANC_ENABLE_SQLITE must be set to 1 to use SQLite
+#endif
+
+
 #if ORTHANC_SQLITE_STANDALONE == 1
 #include <stdexcept>