diff OrthancServer/Sources/Search/ISqlLookupFormatter.h @ 4096:d633e5bb7ba3

reusing of ISqlLookupFormatter and DatabaseConstraint in orthanc-databases project
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2020 08:42:21 +0200
parents 05b8fd21089c
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancServer/Sources/Search/ISqlLookupFormatter.h	Tue Jun 30 17:00:18 2020 +0200
+++ b/OrthancServer/Sources/Search/ISqlLookupFormatter.h	Wed Jul 01 08:42:21 2020 +0200
@@ -33,7 +33,11 @@
 
 #pragma once
 
-#include "../../../OrthancFramework/Sources/Enumerations.h"
+#if ORTHANC_BUILDING_SERVER_LIBRARY == 1
+#  include "../../../OrthancFramework/Sources/Enumerations.h"
+#else
+#  include <Enumerations.h>
+#endif
 
 #include <boost/noncopyable.hpp>
 #include <vector>