diff Core/SQLite/StatementId.h @ 3992:f9863630ec7f

working on the shared library for Orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2020 16:07:01 +0200
parents fa5ad4368fe3
children
line wrap: on
line diff
--- a/Core/SQLite/StatementId.h	Fri May 29 21:23:57 2020 +0200
+++ b/Core/SQLite/StatementId.h	Fri Jun 05 16:07:01 2020 +0200
@@ -37,11 +37,17 @@
 
 #pragma once
 
+#if ORTHANC_SQLITE_STANDALONE == 1
+#  define ORTHANC_PUBLIC
+#else
+#  include "../OrthancFramework.h"
+#endif
+
 namespace Orthanc
 {
   namespace SQLite
   {
-    class StatementId
+    class ORTHANC_PUBLIC StatementId
     {
     private:
       const char* file_;