diff OrthancFramework/Sources/HttpServer/HttpToolbox.cpp @ 4332:17d209a3f397

fix missing symbols for stone
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 25 Nov 2020 21:42:50 +0100
parents a01b1c9cbef4
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/HttpToolbox.cpp	Wed Nov 25 18:15:28 2020 +0100
+++ b/OrthancFramework/Sources/HttpServer/HttpToolbox.cpp	Wed Nov 25 21:42:50 2020 +0100
@@ -25,7 +25,7 @@
 
 #include <string.h>
 
-#if ORTHANC_SANDBOXED != 1
+#if (ORTHANC_ENABLE_MONGOOSE == 1 || ORTHANC_ENABLE_CIVETWEB == 1)
 #  include "IHttpHandler.h"
 #endif
 
@@ -184,7 +184,7 @@
 
 
 
-#if ORTHANC_SANDBOXED != 1
+#if (ORTHANC_ENABLE_MONGOOSE == 1 || ORTHANC_ENABLE_CIVETWEB == 1)
   bool HttpToolbox::SimpleGet(std::string& result,
                               IHttpHandler& handler,
                               RequestOrigin origin,